httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Error and not sure why or how to fix
Date Tue, 02 Sep 2003 14:36:10 GMT
A quick guess would be that the apache user (see "user" directive) does
not have permission to execute the CGI program or to write to files that
it creates (it looks like a mail-sending CGI?).

Remember that apache spawns a shell with a its own userid to execute
CGIs - they don't run in the account of the program owner or root or
anything like that... See for details.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>-----Original Message-----
>From: M.D. DeWar []
>Sent: Dienstag, 2. September 2003 15:47
>Subject: [users@httpd] Error and not sure why or how to fix
>I have been reading all I can and I can't seem to find out why 
>or who is
>causing this error. I am not a unix/apache or any software 
>guru. I perfer
>hardware. it can be thrown and stomped on and sent back.
>I am running on freebsd 4.8. When I installed the system I has 
>the packages
>for Apache,PHP and other programs installed. I will not do 
>that again. I
>have no clue were what went and what options. For a newbie is 
>not a good
>thing to do I think.
>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
>[Tue Sep 02 09:35:45 2003] [error] [client] zcat:
>.0.gz: Permission denied, referer:
>[Tue Sep 02 09:35:45 2003] [error] [client] cat:
> Permission denied, referer:
>I had another machine and it ran fine but that was apache 1.3.
>This is apache, :
>spamcop# httpd -v
>Server version: Apache/2.0.44
>Server built:   Mar 22 2003 19:14:22
>I have looked at permissions and they seem okay but again I am 
>not 100%.
>Any help is greatly appreciated or pointers.
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:
>Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message