in reply to (crazyinsomniac) Re: Reading the last fews lines of the Apache error log
in thread Reading the last fews lines of the Apache error log
You could also just call something like this in httpd.conf: ErrorDocument 500 /cgi-bin/error500.cgi
...in a previous job I wrote a script like this for 404 errors that tracked the error, logged it, kept some statistics, then emailed the appropriate webmaster based on the URL (in this case the domain name) with the error (containing the $ENV{'HTTP_REFERER'} in case it was helpful to track down the error).
Kickstart
|
|---|