PoloRM
PoloRM

Reputation: 155

Codeigniter on IIS web.config issue

I am installing a site made in PHP/CodeIgniter 2 on a hosting server which unfortunately has IIS running, which I have no experience in.

Nothing is working except the homepage, all other pages are returning 404 errors.

Adding index.php to the url returns 500 - Internal server error (I have the index page config set to '' in the config.php file)

I tried also creating a web.config file thinking the issue might be from the redirects, but adding a web.config file stops even the homepage from working, even if the web.config file added is completely empty.

Help really appreciated.

Upvotes: 0

Views: 2813

Answers (2)

Shiro
Shiro

Reputation: 7544

Make sure you had installed URL Rewrite - http://www.iis.net/downloads/microsoft/url-rewrite

After you had installed the module you should able to see this icon (URL Rewrite) in your IIS Management. IIS - URL Rewrite

Upvotes: 0

Prashanth Kumar B
Prashanth Kumar B

Reputation: 576

Check if the hosting server has Re-write module installed in it, that could be your problem.

Upvotes: 1

Related Questions