Don't like ads? PRO users don't see any ads ;-)
Guest

httpd-userdir.conf

By: a guest on May 13th, 2011  |  syntax: Bash  |  size: 0.95 KB  |  hits: 80  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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 public_html
  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 "/home/*/public_html">
  17.     #AllowOverride FileInfo AuthConfig Limit Indexes
  18.     AllowOverride All
  19.     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  20.     suPHP_Engine on
  21.     AddHandler x-httpd-php .php .php3 .php4 .php5
  22.     suPHP_AddHandler x-httpd-php
  23.     <Limit GET POST OPTIONS>
  24.         Order allow,deny
  25.         Allow from all
  26.     </Limit>
  27.     <LimitExcept GET POST OPTIONS>
  28.         Order deny,allow
  29.         Deny from all
  30.     </LimitExcept>
  31. </Directory>