Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-updates > by-pkgid > f8d9be5e74347513c75b5970ca2cafae > files > 1

apache-mod_userdir-2.2.25-1.mga2.i586.rpm

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

#
# 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>