github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_2_34/conf/original/extra/httpd-userdir.conf (about)

     1  # Settings for user home directories
     2  #
     3  # Required module: mod_userdir
     4  
     5  #
     6  # UserDir: The name of the directory that is appended onto a user's home
     7  # directory if a ~user request is received.  Note that you must also set
     8  # the default access control for these directories, as in the example below.
     9  #
    10  UserDir "My Documents/My Website"
    11  
    12  #
    13  # Control access to UserDir directories.  The following is an example
    14  # for a site where these directories are restricted to read-only.
    15  #
    16  <Directory "C:/Users/*/My Documents/My Website">
    17      AllowOverride FileInfo AuthConfig Limit Indexes
    18      Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    19      <Limit GET POST OPTIONS>
    20          Order allow,deny
    21          Allow from all
    22      </Limit>
    23      <LimitExcept GET POST OPTIONS>
    24          Order deny,allow
    25          Deny from all
    26      </LimitExcept>
    27  </Directory>
    28