You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sriram Rajan <sr...@hotmail.com> on 2003/08/07 04:15:49 UTC

[users@httpd] SUEXEC problem ?

I am using Server version: Apache/2.0.46.

here's a suexec -V listing
-D AP_DOC_ROOT="/www"
 -D AP_GID_MIN=100
 -D AP_HTTPD_USER="www"
 -D AP_LOG_EXEC="/usr/local/apache2/logs/suexec_log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=100
 -D AP_USERDIR_SUFFIX="public_html"

My webserver runs as www.

For some reason suexec works for any user (i.e. under the public_html
folder)

It doesnt get called from any cgi script under /www which is my webserver
root.
There is no entry in the logs. It just doesnt get called.

Any ideas ??

Thanks

Sriram



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


Re: [users@httpd] SUEXEC problem ?

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 6 Aug 2003, Sriram Rajan wrote:
> For some reason suexec works for any user (i.e. under the public_html
> folder)
>
> It doesnt get called from any cgi script under /www which is my webserver
> root.
> There is no entry in the logs. It just doesnt get called.
>
> Any ideas ??

See:
http://httpd.apache.org/docs-2.0/suexec.html#usage

suexec only works in virtual hosts or user directories.  For it to work in
virtual hosts, you must use the SuexecUserGroup directive.

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