httpd-userdir.conf 744 B

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