Apache .htaccess problem: No input file specified.
Posted
by Michal M
on Server Fault
See other posts from Server Fault
or by Michal M
Published on 2009-10-12T22:02:14Z
Indexed on
2010/04/15
9:23 UTC
Read the original article
Hit count: 260
Hello Everyone,
Can someone help me with this. I'm feeling like I've been hitting my head against a wall for over 2 hrs now.
I've got Apache 2.2.8 + PHP 5.2.6 installed on my machine and the .htacces with code below works fine, no errors.
RewriteEngine on
RewriteCond $1 !^(index\.php|css|gfx|js|swf|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
The same code on my hosting provider server gives me a 404 error code and outputs only: No input file specified. index.php IS there. I know they have Apache installed (cannot find version info anywhere) and they're running PHP v5.2.8.
I'm on windows xp 64-bit, they're running some Linux and php in cgi/fastcgi mode. Can anyone suggest what could be the problem?
PS. if that's important that's for CodeIgniter to work with friendly URLs.
© Server Fault or respective owner