aboutsummaryrefslogtreecommitdiff
path: root/local
diff options
context:
space:
mode:
authorpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2007-07-17 21:08:51 +0000
committerpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2007-07-17 21:08:51 +0000
commit22b5c3555b225e68d5bc5d072dfa2285c2be4bf3 (patch)
tree0802528a29546f1ec23a43c9a3e0dea416476d31 /local
parent64a6c0319a743acf9122bd65ed52e1e0e4949ddd (diff)
downloadpmwiki.svn-22b5c3555b225e68d5bc5d072dfa2285c2be4bf3.tar.bz2
Revert improperly committed local/.htaccess.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@2141 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'local')
-rw-r--r--local/.htaccess13
1 files changed, 12 insertions, 1 deletions
diff --git a/local/.htaccess b/local/.htaccess
index 3b349eeb..96479ba9 100644
--- a/local/.htaccess
+++ b/local/.htaccess
@@ -1 +1,12 @@
-AddType text/plain .php
+# 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