Re: Customized 403-404 error pages

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

 



On 6/30/07, Nanu Kalmanovitz <nanu@xxxxxxxxxxxxxxxxx> wrote:


Hi!

I set Apache2 to show other pages for 403 & 404 errors, than the standard
ones.
Now it seems that those errors don't appears any more in the log files.

Following are the changes in the  httpd.conf file:

# ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
ErrorDocument 403
http://www.kalmanovitz.co.il/k_comm/Templates/Error_Pages/403_Access_forbidden.HTM

# ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
ErrorDocument 404
http://www.kalmanovitz.co.il/k_comm/templates/Error_Pages/404-NOT_FOUND.htm

How can I set it to display my error pages and log the error codes too?

Look at the docs for the Errordocument directive, and in particular
the big box about the consequences of using an absolute URL. You can
probably fix your problem simply by deleting everying up to co.il in
the ErrorDocument target.

Joshua.

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