github.com/krum110487/go-htaccess@v0.0.0-20240316004156-60641c8e7598/tests/data/apache_2_4_58/conf/extra/httpd-userdir.conf (about) 1 # Settings for user home directories 2 # 3 # Required module: mod_authz_core, mod_authz_host, 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 Require method GET POST OPTIONS 20 </Directory> 21