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
#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