summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-09-07 21:47:36 -0700
committerBharat Mediratta <bharat@menalto.com>2010-09-07 21:47:36 -0700
commit9c721c4da6cbd57c9b60142215ada984c867f59d (patch)
tree6eb7cc8f92ad3a920871e4b4871c95d95e4dec8c
parent00c1100d9d6f717b2c8d16600ae978a13b3798fd (diff)
In the security block, make the "Deny from all" explicit to avoid
confusion. Specifically allow robots.txt to be a visible .txt file. Fixes ticket #1343.
-rw-r--r--.htaccess6
1 files changed, 6 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index bea9a10a..f6008361 100644
--- a/.htaccess
+++ b/.htaccess
@@ -25,9 +25,15 @@
# you'll get an "Internal Server Error".
#
# <FilesMatch "(\.(class|fla|inc|sql|txt|gitignore)|(README|LICENSE))$">
+# Order deny,allow
+# Deny from all
+# </FilesMatch>
+# <FilesMatch "robots.txt">
# Order allow,deny
+# Allow from all
# </FilesMatch>
+
# Improve performance by uncommenting this block. It tells the
# browser that your images don't change very often so it won't keep
# asking for them. If you get an error after uncommenting this, make