DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=18156>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=18156

Suexec runs as the VirtualHost user instead of the owner of the UserDir





------- Additional Comments From [EMAIL PROTECTED]  2004-03-30 21:39 -------
I've got some Rewriterules, but they don't apply for the UserDir directive. This
is my VirtualHost config:

<VirtualHost www.domain.nl:80>
        SuexecUserGroup username group
        ServerAdmin emailaddress

        DocumentRoot "/home/sites/site1/web/"
                <Directory "/home/sites/site1/web">
                    Options Indexes FollowSymLinks MultiViews Includes +ExecCGI
                    AllowOverride All
                    Order allow,deny
                    Allow from all
                </Directory>

        ServerName www.domain.nl
        ServerAlias *.domain.nl domain.nl

        RewriteEngine On
        RewriteRule ^/personal/?$       http://www.domain.nl:81 [L,R]
        RewriteRule ^/siteadmin/?$      http://www.domain.nl:81 [L,R]
        RewriteRule ^/admin/?$          http://www.domain.nl:81 [L,R]
        RewriteRule ^/login/?$          http://www.domain.nl:81 [L,R]
        RewriteRule ^/webmail/?$        http://www.domain.nl:81/webmail/ [L,R]
        RewriteRule ^/fileman/?$        http://www.domain.nl:81/webmail/ [L,R]
        RewriteOptions inherit
        <Directory "/home/sites/site1/users/*/web">
            Options Indexes FollowSymLinks MultiViews Includes +ExecCGI
            AllowOverride All
            Order allow,deny
            Allow from all
        </Directory>
        ErrorLog /home/sites/site1/logs/error.log
        CustomLog /home/sites/site1/logs/web.log combined
</VirtualHost>

In httpd.conf the following is set:

UserDir web

and my suexec -V output is:

 -D AP_DOC_ROOT="/home/sites/"
 -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_SUEXEC_UMASK=022
 -D AP_UID_MIN=100
 -D AP_USERDIR_SUFFIX="web"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to