/[apache]/trunk/dist/2.2/conf/modules.d/00_mod_userdir.conf
Gentoo

Diff of /trunk/dist/2.2/conf/modules.d/00_mod_userdir.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 160 Revision 161
1# Settings for user home directories 1# Settings for user home directories
2<IfDefine USERDIR> 2<IfDefine USERDIR>
3 <IfModule userdir_module> 3<IfModule userdir_module>
4 # UserDir: The name of the directory that is appended onto a user's home 4# UserDir: The name of the directory that is appended onto a user's home
5 # directory if a ~user request is received. Note that you must also set 5# directory if a ~user request is received. Note that you must also set
6 # the default access control for these directories, as in the example below. 6# the default access control for these directories, as in the example below.
7 UserDir public_html 7UserDir public_html
8 8
9 # Control access to UserDir directories. The following is an example 9# Control access to UserDir directories. The following is an example
10 # for a site where these directories are restricted to read-only. 10# for a site where these directories are restricted to read-only.
11 <Directory /home/*/public_html> 11<Directory /home/*/public_html>
12 AllowOverride FileInfo AuthConfig Limit Indexes 12 AllowOverride FileInfo AuthConfig Limit Indexes
13 Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec 13 Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
14 <Limit GET POST OPTIONS> 14 <Limit GET POST OPTIONS>
15 Order allow,deny 15 Order allow,deny
16 Allow from all 16 Allow from all
17 </Limit> 17 </Limit>
18 <LimitExcept GET POST OPTIONS> 18 <LimitExcept GET POST OPTIONS>
19 Order deny,allow 19 Order deny,allow
20 Deny from all 20 Deny from all
21 </LimitExcept> 21 </LimitExcept>
22 </Directory> 22</Directory>
23 23
24 # Suexec isn't really required to run cgi-scripts, but it's a really good 24# Suexec isn't really required to run cgi-scripts, but it's a really good
25 # idea if you have multiple users serving websites... 25# idea if you have multiple users serving websites...
26 <IfDefine SUEXEC> 26<IfDefine SUEXEC>
27 <IfModule suexec_module> 27<IfModule suexec_module>
28 <Directory /home/*/public_html/cgi-bin> 28 <Directory /home/*/public_html/cgi-bin>
29 Options ExecCGI 29 Options ExecCGI
30 SetHandler cgi-script 30 SetHandler cgi-script
31 </Directory> 31 </Directory>
32 </IfModule>
33 </IfDefine>
34 </IfModule> 32</IfModule>
35</IfDefine> 33</IfDefine>
36 34
37# vims: ts=4 filetype=apache 35# vims: ts=4 filetype=apache

Legend:
Removed from v.160  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.20