httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Re: Trouble with suexec and apache 2.0.35 -- More
Date Mon, 15 Apr 2002 00:08:27 GMT
Sorry about the confusion.  I don't like ~/public_html, I have always
put personal areas under /home/www/.  my login home dir is
/home/felix, the personal www root is /home/www/felix/.  Under there
are cgi-bin, htdocs, fcgi, etc.

This has worked under 1.* for as long as I can remember, back to 1995
or so I think.  It works for 2.0.35 EXCEPT for suexec.  The logged
complaint in the errors log file is

[2002-04-14 13:54:57]: uid: (501/felix) gid: (100/100) cmd: delwww
[2002-04-14 13:54:57]: command not in docroot (/home/www/felix/cgi-bin/delwww)

The compile time suexec config options were


The suexec -V output is

 -D AP_DOC_ROOT="/usr/local/apache/share/htdocs"
 -D AP_GID_MIN=100
 -D AP_LOG_EXEC="/usr/local/apache/var/log/suexec.log"
 -D AP_SAFE_PATH="/usr/local/bin:/usr/bin:/bin"
 -D AP_UID_MIN=500
 -D AP_USERDIR_SUFFIX="/home/www"

The httpd.conf directives are

UserDir /home/www/*

<Directory /home/www/*>
    AllowOverride AuthConfig FileInfo Indexes Limit
    Order deny,allow
    Deny from all
    Allow from 192.168.1 207.159.47

<Directory /home/www/*/cgi-bin>
    AllowOverride AuthConfig
    Options ExecCGI FollowSymLinks
    Order deny,allow
    Deny from all
    Allow from 192.168.1 207.159.47
    SetHandler cgi-script

This is unchanged from 1.3.20.  I can stop 2.0.35 and start 1.3.20 and
everything works fine.

            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon /
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o

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

View raw message