- Patch #29344 by Morbus: .htaccess file needs file protection update

4.7.x
Dries Buytaert 2005-12-01 16:02:09 +00:00
parent a95f00c3a0
commit 316e35784a
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@
#
# Protect files and directories from prying eyes.
<Files ~ "(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$">
<FilesMatch "(\.(engine|inc|module|sh|sql|theme|tpl|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$">
Order deny,allow
Deny from all
</Files>
</FilesMatch>
# Set some options.
Options -Indexes