Jump to content


This topic is now archived and is closed to further replies.


No Input File Specified, but not with a mod_rewrite fix

Recommended Posts

I'm getting the "No Input File Specified" error after upgrading to PHP 5.  Everything was working fine, but now doesn't check out. I've combed the web for a solution, tried about 6 hours of trying to get it to work and am at the end of my rope! So please help.

I want to simply pass variables to a script using clean URLs like so:


I don't need to mod_rewrite to make the "test.php" not appear. That's not an issue. Here's my test.php script:

$data = explode("/",$_SERVER['REQUEST_URI']);
echo $data[1];

Just in case, here's my .htaccess entry that's being used for other scripts. I'm assuming that this is getting in the way.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.