httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] question about virtual host configuration
Date Sat, 22 Jul 2006 15:30:05 GMT
On 7/22/06, Jonathan Horne <freebsd@dfwlp.com> 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.

http://httpd.apache.org/docs/2.2/mod/mod_userdir.html#userdir

-- 
noodl

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message