Commit 072621ad authored by Richard Bowen's avatar Richard Bowen
Browse files

igalic reminded me that AllowOverride now defaults to none, and Options

now defaults to FollowSymlinks, so simplify this entire section and thus
reduce the chance that people will tinker with it. Remove scary warning.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1080290 13f79535-47bb-0310-9956-ffa450edef68
parent c514d3ac
Loading
Loading
Loading
Loading
+3 −11
Changes for docs/conf/httpd.conf.in: 3 added lines, 11 removed lines.
Original line number Diff line number Diff line
@@ -114,19 +114,11 @@ ServerAdmin you@example.com
DocumentRoot "@exp_htdocsdir@"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
#
# YOU SHOULD NOT RELAX THE CONFIGURATION FOR <Directory />. YOU ARE
# PROBABLY LOOKING FOR THE <Directory> BLOCK IMMEDIATELY BELOW THIS ONE.
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other 
# <Directory> blocks below.
#
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Require all denied
</Directory>