httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <>
Subject Re: [users@httpd] question about virtual host configuration
Date Sat, 22 Jul 2006 15:30:05 GMT
On 7/22/06, Jonathan Horne <> wrote:
> when i setup multiple virtual hosts on my server (freebsd 6.1, apache 2.0.58),
> how can i configure specific virtual hosts to disallow accessing userdirs?
> main reason i want to turn it off is its quite annoying to see my weblogs
> where each one of my userdirs have been accessed at the root of everyone of
> my sites.
> is this restriction possible on a virtualhost-by-virtualhost basis?

Adding this to your vhosts should do it. It works for me anyway.

UserDir disabled

Otherwise, go the opposite way and enable it only for those vhosts you want.


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

View raw message