diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-09-07 21:47:36 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-09-07 21:47:36 -0700 |
commit | 9c721c4da6cbd57c9b60142215ada984c867f59d (patch) | |
tree | 6eb7cc8f92ad3a920871e4b4871c95d95e4dec8c | |
parent | 00c1100d9d6f717b2c8d16600ae978a13b3798fd (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-- | .htaccess | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |