Re: errordocument without htaccess

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux