httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nilesh Govindarajan <li...@itech7.com>
Subject Re: [users@httpd] errordocument without htaccess
Date Mon, 15 Feb 2010 14:48:42 GMT
On 02/15/2010 08:15 PM, Wing Tang wrote:
> Hello,
>
> I want to redirect a http status code 404 to a custom page. I have
> configured within an virtual host the following:
>
>   ErrorDocument 404 /custom_404.html
>
> In the access.log I can see the 404 but the custom error page actually
> never shows up.
>
> I havent used the .htaccess file.
>
> Anyone any ideas where I might have gone wrong?
>
> Thanks in advance.
>
> Wing

Does the custom error file exist ? If yes, then try this to see a custom 
message -

ErrorDocument 404 "This is test 404 error"

-- 
Nilesh Govindarajan
Site & Server Adminstrator
www.itech7.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message