Block access to .ini files http://laconi.ca/PITS/00240

darcs-hash:20080720112032-533db-e7bd1e7faaf3f1580b90faf425997de034f1a0cc.gz
This commit is contained in:
Mike Cochrane 2008-07-20 07:20:32 -04:00
parent 97bc06d2ee
commit 6dac91d774

View File

@ -96,3 +96,7 @@ RewriteRule ^api/blocks/create/(.*)$ index.php?action=api&apiaction=blocks&metho
RewriteRule ^api/blocks/destroy/(.*)$ index.php?action=api&apiaction=blocks&method=destroy&argument=$1 [L,QSA]
RewriteRule ^api/help/(.*)$ index.php?action=api&apiaction=help&method=$1 [L,QSA]
<FilesMatch "\.(ini)">
Order allow,deny
</FilesMatch>