Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 15e128f53afb7a5be646cbd61d44d653 > files > 1

apache-mod_userdir-2.2.22-2.mga1.i586.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>