aboutsummaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2004-12-06 16:45:18 +0000
committerpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2004-12-06 16:45:18 +0000
commit9120954b333a1f9e059cd3622ee7daf2e0bd82a5 (patch)
tree1b2339fad71e73b2ddeb58706b7ddae4fcaad344 /local
parente26544ae64e5a30dc425292837b80539ee3db427 (diff)
downloadpmwiki.svn-9120954b333a1f9e059cd3622ee7daf2e0bd82a5.tar.bz2
Updated with comments to explain what's happening here.
git-svn-id: svn://pmwiki.org/trunk/pmwiki@412 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'local')
-rw-r--r--local/.htaccess12
1 files changed, 11 insertions, 1 deletions
diff --git a/local/.htaccess b/local/.htaccess
index cb24fd7f..96479ba9 100644
--- a/local/.htaccess
+++ b/local/.htaccess
@@ -1,2 +1,12 @@
-Order allow,deny
+# This file is local/.htaccess -- the default distribution contains this
+# file to prevent local/ scripts from being accessed directly by browsers
+# (this is a potential, albeit very unlikely, security hole).
+#
+# If you alter or replace this file, it will likely be overwritten when
+# you upgrade from one version of PmWiki to another. Be sure to save
+# a copy of your alterations in another location so you can restore them,
+# and you might try changing this file to be read-only to prevent a PmWiki
+# upgrade from overwriting your altered version.
+
+Order Deny,Allow
Deny from all