Hey Sometimes on my website the user might come accross a 404 error. What I want to do is customise that page, how can I do that? ErrorDocument 404 /error.php Didn't show error.php, so I'm not sure if that's the wrong code or what.
That's the right code...there may be something else interfering with it, or you may need to make sure that the custom page you want is uploaded in the right location. Also, just to check...You have that in the .htaccess in your website's public root?
I was told by my hosting that such problem is a weird issue with PHP 5 The walkround to get your error pages displayed again is adding the following rule to your .htaccess file Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteRule ^.+.php$ /bogusfile Code (markup):