Skip to content

Server URL problems

World Wide Web Server edited this page Jul 4, 2012 · 10 revisions

If you've tried the Troubleshooting section in the User Guide [url=http://www.codeigniter.com/user_guide/installation/troubleshooting.html]http://www.codeigniter.com/user_guide/installation/troubleshooting.html[/url] and your still not satisfied try setting the AcceptPathInfo directive to 'On' in a htaccess file. Unfortunately some servers have this set to 'default' which will often rejects path info...

HTACCESS

Allow path info for index.php

<FilesMatch "^index.php$"> SetHandler application/x-httpd-php #always a good idea to confirm type AcceptPathInfo On

NB: This can be added to the same htaccess file as the mod_rewrite used to remove the index.php file

Clone this wiki locally