I'm writing a CGI script to handle "500" server errors with Apache. As part of this, I'd like to show the last few lines from the Apache error log.
I noticed the error log location is not in the CGI environment (at least not in the %ENV hash). Is there a way I can dynamically figure out where the error log is? (better yet, do you have a pointer to an example of this?)
For those concerned about security, this will be used by developers only, not by the public. :) Thanks!
-mark
In reply to Reading the last fews lines of the Apache error log by markjugg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |