Re: [us...@httpd] monitoring HTTP Error Codes

2009-10-18 Thread MadTh
Thank you Scott, I knew about .htacess but was not sure that it is supported over "server config" context in apache. On Mon, Oct 19, 2009 at 2:46 AM, Scott Haneda wrote: > Set your Error Document directive: > http://httpd.apache.org/docs/2.0/mod/core.html#errordocument > > ErrorDocument 404

Re: [us...@httpd] monitoring HTTP Error Codes

2009-10-18 Thread Scott Haneda
Set your Error Document directive: http://httpd.apache.org/docs/2.0/mod/core.html#errordocument ErrorDocument 404 /place/mailer.php ErrorDocument 406 /place/mailer.php ErrorDocument 500 /place/mailer.php ErrorDocument 501 /place/mailer.php In mailer.php, or whatever scripting language you chose

[us...@httpd] monitoring HTTP Error Codes

2009-10-18 Thread MadTh
Hi, Please advise on how can we monitor HTTP Error Codes on a web server and then send an email alert upon errors. The HTTP Error Codes we need alerts on are 404,406,500 and 501 errors We do not want to monitor it for a particular site, but serverwide. So we need to find some way to pull the