You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2011/03/10 18:18:40 UTC
svn commit: r1080290 - /httpd/httpd/trunk/docs/conf/httpd.conf.in
Author: rbowen
Date: Thu Mar 10 17:18:40 2011
New Revision: 1080290
URL: http://svn.apache.org/viewvc?rev=1080290&view=rev
Log:
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.
Modified:
httpd/httpd/trunk/docs/conf/httpd.conf.in
Modified: httpd/httpd/trunk/docs/conf/httpd.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/httpd.conf.in?rev=1080290&r1=1080289&r2=1080290&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/httpd.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/httpd.conf.in Thu Mar 10 17:18:40 2011
@@ -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>