Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 2ecc1f71865a53cdac1cdca1b8b8cad2 > files > 16

apache-2.2.17-5.6.mga1.src.rpm

<IfDefine HAVE_USERDIR>
    <IfModule !mod_userdir.c>
	LoadModule userdir_module	modules/mod_userdir.so
    </IfModule>
</IfDefine>

#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /home/*/public_html>
#    AllowOverride FileInfo AuthConfig Limit Indexes
#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#    <Limit GET POST OPTIONS PROPFIND>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <LimitExcept GET POST OPTIONS PROPFIND>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>
#</Directory>

# These settings are pretty flexible, and allow for Frontpage and XSSI
<IfModule mod_userdir.c>
    <Directory /home/*/public_html>
        AllowOverride All
        Options MultiViews -Indexes Includes FollowSymLinks
	Order allow,deny
	Allow from all
    </Directory>
    <Directory /home/*/public_html/cgi-bin>
        Options +ExecCGI -Includes -Indexes
        SetHandler cgi-script
	Order allow,deny
	Allow from all
    </Directory>
</IfModule>