[wellylug] cgi script question

andrej at paradise.net.nz andrej at paradise.net.nz
Mon Oct 2 10:13:38 NZDT 2006


Quoting Mark Signal <mark at remote-assist.net>:

> 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?
Depends on a) which user your apache is run as, and b) what
the perms on your logs are.

I run apache as nobody:nogroup, and would give nogroup
read perms on the log.


> Many thanks
> 
> Regards
Cheers,
Andrej




More information about the wellylug mailing list