Advertisement
Guest User

httpd-userdir.conf

a guest
Jul 11th, 2014
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  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.  
  11. UserDir public_html
  12. UserDir disable root
  13.  
  14. #
  15. # Control access to UserDir directories. The following is an example
  16. # for a site where these directories are restricted to read-only.
  17. #
  18. <Directory "/home/*/public_html">
  19. AllowOverride FileInfo AuthConfig Limit Indexes
  20. Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  21. Require method GET POST OPTIONS
  22. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement