httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Error and not sure why or how to fix
Date Tue, 02 Sep 2003 14:31:54 GMT

On Tue, 2 Sep 2003, M.D. DeWar wrote:
> I am tyring to run a cgi script. When run from the command line it works but
> from the web i get no data returned. The error is this in the
> httpd-error.log
> [Tue Sep 02 09:35:45 2003] [error] [client 192.168.101.4] zcat:
> /var/log/maillog
> .0.gz: Permission denied, referer:
> http://spamcop.wirelesscommunitynetworks.com/
> cgi-bin/mail.cgi

This is the stderr output of your cgi script.  Most likely, the user
running the CGI script does not have permission to read
/var/log/maillog.0.gz.  The user running the mail script (assuming you
aren't using suexec) is the one mentioned in the User and Group directives
in httpd.conf.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message