>Number:         1602
>Category:       mod_userdir
>Synopsis:       UserDir directives within VirtualHost's appear to be ignored.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sat Dec 27 20:30:00 PST 1997
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3b3
>Environment:
uname -a: Linux Hoova.Geeks.ORG 2.0.30 #2 Fri Dec 26 17:21:40 CST 1997 i586 
unknown
gcc -v: Reading specs from /usr/lib/gcc-lib/i386-linux/2.7.2.1/specs
gcc version 2.7.2.1
>Description:
I will configure a virtual host as dev.blah.com and the release host as
www.blah.com.  

No default UserDir directive is in the srm.conf and the UserDir directives are
in the httpd.conf as follows.

<VirtualHost dev.blah.com>
...
UserDir dev_www
...
</VirtualHost>

<VirtualHost www.blah.com>
...
UserDir rel_www
...
</VirtualHost>

Under 1.2.4 behaviour is as expected. From dev.blah.com/~username/blah.html
we see the content that we expect to see. From www.blah.com/~username/blah.html
we see the content that we expect to see.  However, under Apache 1.3b3 UserDir
directives within the VirtualHost block appear to be ignored, instead the 
overall "system" UserDir directive is applied and things don't work as expected.
If there is no "system" UserDir directive it defaults to the compiled value of
public_html.  Durned annoying.  
>How-To-Repeat:
I have reverted to Apache 1.2.4 for the time being. However, I would be happy
provide any additional information.
>Fix:
Hmmm, not yet
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to