Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2016
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.14 KB | None | 0 0
  1.  
  2. DocumentRoot "/var/www/html"
  3.  
  4. #
  5. # Relax access to content within /var/www.
  6. #
  7. <Directory "/var/www">
  8.     AllowOverride All
  9.     Options Indexes FollowSymLinks
  10.     # Allow open access:
  11.     Require all granted
  12. </Directory>
  13.  
  14. # Further relax access to the default document root:
  15. <Directory "/var/www/html">
  16.     #
  17.     # Possible values for the Options directive are "None", "All",
  18.     # or any combination of:
  19.     #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  20.     #
  21.     # Note that "MultiViews" must be named *explicitly* --- "Options All"
  22.     # doesn't give it to you.
  23.     #
  24.     # The Options directive is both complicated and important.  Please see
  25.     # http://httpd.apache.org/docs/2.4/mod/core.html#options
  26.     # for more information.
  27.     #
  28.     Options Indexes FollowSymLinks
  29.  
  30.     #
  31.     # AllowOverride controls what directives may be placed in .htaccess files.
  32.     # It can be "All", "None", or any combination of the keywords:
  33.     #   Options FileInfo AuthConfig Limit
  34.     #
  35.     AllowOverride None
  36.  
  37.     #
  38.     # Controls who can get stuff from this server.
  39.     #
  40.     Require all granted
  41. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement