I'd like to be able to display the error_log as a web page so that a colleague (without root access) can view this for troubleshooting their PHP development.
On my CentOS 5.x machine the error log is at: /var/log/httpd/error_log and the directories are root access only.
I'd write a CGI script to display the log but as this runs in the apache process this is not root so the log file cannot be accessed. (Tried it). What puzzles me is that somehow apache can write to it to log errors even though the containing directories are root access.
How could I achieve my aim? Or can you suggest an alternative please?