[wellylug] cgi script question

Jonathan Harker jon at jon.geek.nz
Mon Oct 2 14:01:45 NZDT 2006


Mark Signal wrote:
> Hi
> 
> I am trying to write a cgi script that needs to read the apache logs but
> is getting 'permission denied' when it tries.
> 
> Can anyone suggest what I could do to get around this?

You could join together in a group the apache user and the user the
script runs as, and change the group on /var/log/httpd




More information about the wellylug mailing list