Welcome Guest, Not a member yet? Register   Sign In
CI not called when using mod_rewrite with PHP5 running as cgi
#19

[eluser]mouras[/eluser]
I had the same problem on my DREAMHOST installation. When, following the CI User Guide on how to remove index.php from the calling URL added a .htacces file, I was no longer able to access the welcome page. Instead I got an empty page reading 'No input file specified'.

None of the various suggestions found on this thread was able to correct the problem, but after some testing I finally found a solution. I only changed the .htaccess file and kept the default settings in config.php. I set the .htaccess as follows:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|my_include_directory|robots\.txt|favicon\.ico|sitemap\.xml)
RewriteRule ^(.*)$ /index.php?$1 [L]

I hope this will help others.


Messages In This Thread
CI not called when using mod_rewrite with PHP5 running as cgi - by El Forum - 11-22-2007, 05:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB