httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kyle <>
Subject VitualHost + UserDir prob
Date Mon, 07 Jan 2002 21:11:04 GMT
Hello all.  I have a few users that use the userdir directive so they
don't have to have their own domain name.  I used to have the UserDir
directive in the main, default setups like this:
UserDir /net/www/*/www
And that worked great!

But then I found that clients could get web pages from any of my domain
host customers (OOPS!).  So it didn't matter what the domain was on the
These would all yield the same results.

So I remarked out the userdir directive in the main host and put a copy
of the original directive into the virtual host that is supposed to
handle these user accounts (names change to protect the somewhat
   DocumentRoot /net/www/xyz00002/www
   SetEnv HOME_DIR /net/www/xyz00002
   UserDir /net/www/*/www

This solved the domain hosing problem, but the exact same request as
above for just returns a 302 error.  Why
won't this directive work when put inside the virtualhost directive?


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