Home ·  Knowledge Base ·  News ·  Contact  





 Knowledge Base

 Categories



Web Servers



Mail Servers



FTP Servers



Firewall / Security



Intrusion Detection



FreeBSD General



Solaris General



Linux General



Miscellaneous



Samba



MRTG



SQL



 Search

 


 Web Servers

Go Back  ·   Related Links

Apache ErrorDocument Directive  


ErrorDocument directive in apache. Used to redirect or include file based on server error. Important to use to control bad behaviour. Helpful to prevent information gathering of the web server based on error document templates.

ErrorDocument 500 http://foo.example.com/cgi-bin/tester
ErrorDocument 404 /cgi-bin/bad_urls.pl
ErrorDocument 401 /subscription_info.html
ErrorDocument 403 "Sorry can't allow you access today

To read more about the apache ErrorDocument directive, visit Apache's directive documentation.

To read more about the various http error codes, visit w3.org's status code definitions page.


 





How's your network?, Inc. © 2001-2024