You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@hyperreal.org on 1998/05/29 03:27:51 UTC
cvs commit: apache-1.3/conf access.conf-dist access.conf-dist-win
brian 98/05/28 18:27:51
Modified: conf access.conf-dist access.conf-dist-win
Log:
Place a "default" configuration for the root dir which is very restrictive.
Thanks to Dean for the hint.
Revision Changes Path
1.13 +14 -1 apache-1.3/conf/access.conf-dist
Index: access.conf-dist
===================================================================
RCS file: /export/home/cvs/apache-1.3/conf/access.conf-dist,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- access.conf-dist 1997/08/19 23:00:22 1.12
+++ access.conf-dist 1998/05/29 01:27:49 1.13
@@ -10,6 +10,19 @@
# Originally by Rob McCool
+# First, we configure the "default" to be a very restrictive set of
+# permissions.
+
+<Directory />
+Options None
+AllowOverride None
+</Directory>
+
+# Note that from this point forward you must specifically allow
+# particular features to be enabled - so if something's not working as
+# you might expect, make sure that you have specifically enabled it
+# below.
+
# This should be changed to whatever you set DocumentRoot to.
<Directory @@ServerRoot@@/htdocs>
@@ -18,7 +31,7 @@
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
# Note that "MultiViews" must be named *explicitly* --- "Options All"
-# doesn't give it to you (or at least, not yet).
+# doesn't give it to you.
Options Indexes FollowSymLinks
1.4 +13 -0 apache-1.3/conf/access.conf-dist-win
Index: access.conf-dist-win
===================================================================
RCS file: /export/home/cvs/apache-1.3/conf/access.conf-dist-win,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- access.conf-dist-win 1997/10/25 19:10:09 1.3
+++ access.conf-dist-win 1998/05/29 01:27:50 1.4
@@ -15,6 +15,19 @@
# Originally by Rob McCool
+# First, we configure the "default" to be a very restrictive set of
+# permissions.
+
+<Directory />
+Options None
+AllowOverride None
+</Directory>
+
+# Note that from this point forward you must specifically allow
+# particular features to be enabled - so if something's not working as
+# you might expect, make sure that you have specifically enabled it
+# below.
+
# This should be changed to whatever you set DocumentRoot to.
<Directory "@@ServerRoot@@/htdocs">