Bug 362878: .htaccess should protect .pm and .pl files by default - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=myk

This commit is contained in:
lpsolit%gmail.com 2006-12-05 23:09:46 +00:00
Родитель 8e68efb23e
Коммит 141d408ad9
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -13,10 +13,10 @@
# Requires "AllowOverride Indexes" to be enabled for this directory.
#DirectoryIndex doctor.cgi
# IMPORTANT! Uncomment this to restrict access to doctor.conf. This prevents
# Restrict access to doctor.conf and other non-CGI scripts. This prevents
# users from accessing the configuration file, which may contain sensitive CVS
# authentication info (i.e. username, password).
# Requires "AllowOverride Limit" to be enabled for this directory.
#<FilesMatch "^doctor\.conf~?$">
# Deny from all
#</FilesMatch>
<FilesMatch \.(pm|pl|conf~?)$>
Deny from all
</FilesMatch>