httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34540] New: - mod userdir bug??
Date Wed, 20 Apr 2005 11:03:30 GMT
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=34540>.
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=34540

           Summary: mod userdir bug??
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Other mods
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: kre80r@gmail.com


well iam using whm/cpanel and i activate mod userdir protection which add this 
to httpd.conf

NameVirtualHost X.X.X.X:80

<VirtualHost X.X.X.X>
ServerAdmin webmaster@domain.com
DocumentRoot /home/domain/public_html
BytesLog domlogs/domain.com-bytes_log  
User sintigr
Group sintigr
<IfModule mod_php4.c>
php_admin_value 
open_basedir "/home/domain/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled sintigr
</IfModule>
ServerName www.domain.com
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
User sintigr
Group sintigr
CustomLog domlogs/domain.com combined
</VirtualHost>


<VirtualHost X.X.X.X>
ServerAlias www.anotherdomain.com anotherdomain.com
ServerAdmin webmaster@anotherdomain.com
DocumentRoot /home/anotherdomain/public_html
BytesLog domlogs/anotherdomain.com-bytes_log
User vtavenir
Group vtavenir
<IfModule mod_php4.c>
php_admin_value 
open_basedir "/home/anotherdomain/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule mod_userdir.c>
UserDir disabled
UserDir enabled vtavenir
</IfModule>
ServerName www.anotherdomain.com
ScriptAlias /cgi-bin/ /home/anotherdomain/public_html/cgi-bin/
User vtavenir
Group vtavenir
CustomLog domlogs/anotherdomain.com combined
</VirtualHost>


but this causes calls to http://X.X.X.X/~anotherdomain

to go to  http://X.X.X.X/domain/public_html/~anotherdomain

ofcourse the first virtual host is the first one using that ip
so why is every account on this ip mapped to the public_html dir of the first 
virtual host in httpd.conf?? how can i set it correctly?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message