Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rewrite Problem with "No input file specified" Error

Status
Not open for further replies.

ralphiooo

Programmer
Oct 23, 2005
64
GB
Hi, i'm gettin the annoyin "No input file specified" error on my custom 404 error pages. I found a solution using my htaccess file. The only trouble is my htaccess file already has a set of rewrite rules in them. Here's what I changed it to:

#ErrorDocument 404 /error/index.php
Options Indexes MultiViews FollowSymlinks
RewriteEngine On
RewriteRule ***** SOME REWRITE RULE *****
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule \.*$ /error/index.php
# bands #
RewriteRule ***** SOME MORE REWRITE RULES *****

but it made every page on my site return an error. Appreciate if anyone could help. Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top