]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_userdir.conf
- from 2.2.0 sources: extra/httpd-userdir.conf
[packages/apache.git] / apache-mod_userdir.conf
CommitLineData
264a55fb
ER
1# $Id$
2LoadModule userdir_module modules/mod_userdir.so
3
4# Settings for user home directories
5#
6# Required module: mod_userdir
7
8<IfModule mod_userdir.c>
9#
10# UserDir: The name of the directory that is appended onto a user's home
11# directory if a ~user request is received. Note that you must also set
12# the default access control for these directories, as in the example below.
13#
14UserDir public_html
15
16#
17# Control access to UserDir directories. The following is an example
18# for a site where these directories are restricted to read-only.
19#
20<Directory /home/*/public_html>
21 AllowOverride FileInfo AuthConfig Limit Indexes
22 Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
23 <Limit GET POST OPTIONS>
24 Order allow,deny
25 Allow from all
26 </Limit>
27 <LimitExcept GET POST OPTIONS>
28 Order deny,allow
29 Deny from all
30 </LimitExcept>
31</Directory>
32
33</IfModule>
34
35# vim: filetype=apache ts=4 sw=4 et
This page took 0.027242 seconds and 4 git commands to generate.