PHP is running as a CGI on the shared hosting servers, which is
why your .htaccess isn't working for it.
You will have to create the error rule within a php.ini file.
That is so much bull, how then can it work for NON .php files?
I know for a fact that CGI does not prevent you using .htaccess or the ErrorDocument directive in apache because Im using one myself right now in CGI mode and it works just fine, does your webhost use a custom error page that advertises its own services or provides a link to their website by any chance?
James
---------------------------------------------------------
Master CIW Designer http://www.ciwcertified.com
Zend Certified Engineer http://www.zend.com
http://www.jamesbenson.co.uk
---------------------------------------------------------