httpd-userdir.conf 846 B

12345678910111213141516171819202122232425262728
  1. # Settings for user home directories
  2. #
  3. # Required module: 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. <Limit GET POST OPTIONS>
  18. Order allow,deny
  19. Allow from all
  20. </Limit>
  21. <LimitExcept GET POST OPTIONS>
  22. Order deny,allow
  23. Deny from all
  24. </LimitExcept>
  25. </Directory>