httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leif W" <warp-...@usa.net>
Subject Re: [users@httpd] Username/Group setting
Date Thu, 30 Oct 2003 17:18:57 GMT
Along with the ScriptAlias, make sure you also have a Directory block
pointing to the same place (usually to turn off indexes).

Also, check if you have suexec running.  Look in your server's error_log.

[Wed Oct 29 21:08:26 2003] [notice] suEXEC mechanism enabled (wrapper:
/usr/local/apache2/bin/suexec)

If it's enabled, check suexec's log (suexec_log) and compiled in options.

suexec -V

If using Virtual Hosts, check SuexecUserGroup.

SuexecUserGroup user group

Check the program file's ownership and permissions under cgi-bin.

Read
http://httpd.apache.org/docs-2.0/suexec.htmlhttp://httpd.apache.org/docs-2.0/suexec.html
if you're using suexec.

Leif

----- Original Message ----- 
From: "Jerome Schlumberger" <jerome.schlumberger@nexantis.net>
To: <users@httpd.apache.org>
Sent: Wednesday, October 29, 2003 8:34 PM
Subject: Re: [users@httpd] Username/Group setting


>
> You can do ps -u user
> to verify if httpd run with this user identity.
> Usually the user is  nobody so:  ps -u nobody
>
> On Thursday 30 October 2003 10:25, Foo, Randy wrote:
> > Hello,
> >
> > How can you tell what user apache is running under?  According to the
> > documentation, it should be possible to change it to user www using the
> > httpd.conf file.  It says to run it once as root, and then it will
> > change over, but I don't know how to verify this.  I have some problems
> > with apache not serving CGI pages for mailman 2.1.2 on a Red Hat 9
> > installation with apache 2.0.47.  I've set ScriptAlias to the mailman
> > directory, and mailman was compiled to use www as a cgi-gid.  The
> > username www does exist and can log in.  I get the "Object not Found"
> > error when trying to hit the cgi pages of mailman.  The error logs tell
> > me nothing, really.  Any ideas on what I'm doing wrong here, so that the
> > CGI wouldn't work?
> >
> >
> >
> > Thanks,
> >
> > Randy Foo



---------------------------------------------------------------------
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