Skip to content

Server URL problems

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

In addition to the troubleshoot section within the user guide [url=http://www.codeigniter.com/user_guide/installation/troubleshooting.html]http://www.codeigniter.com/user_guide/installation/troubleshooting.html[/url] try setting the type ) which suggests appending an '?' to your URLs as a last result try forcing type:

HTACCESS

<FilesMatch "^index.php$"> SetHandler application/x-httpd-php AcceptPathInfo On

Sometimes Apache just needs to be told that 'my.php' is actually a PHP file in order for path info to work correctly I believe it has something to do with security in Apache 2 ;)

For more info have a read of this thread over at DevShed [url=http://forums.devshed.com/apache-development-15/acceptpathinfo-apache2t-34197.html?&highlight=PATH_INFO]http://forums.devshed.com/apache-development-15/acceptpathinfo-apache2t-34197.html?&highlight=PATH_INFO[/url]

Clone this wiki locally