summaryrefslogtreecommitdiff
path: root/htaccess.sample
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-20 07:20:32 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-20 07:20:32 -0400
commit6dac91d77498961ce658cd36970e80d94ec517bb (patch)
tree0c2dd508965efd7e01294955243247bf38a48fbc /htaccess.sample
parent97bc06d2ee29b42a3009a2bf4c57ebd71e63cf0e (diff)
Block access to .ini files http://laconi.ca/PITS/00240
darcs-hash:20080720112032-533db-e7bd1e7faaf3f1580b90faf425997de034f1a0cc.gz
Diffstat (limited to 'htaccess.sample')
-rw-r--r--htaccess.sample4
1 files changed, 4 insertions, 0 deletions
diff --git a/htaccess.sample b/htaccess.sample
index 86d014618..7ec889bc1 100644
--- a/htaccess.sample
+++ b/htaccess.sample
@@ -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>
+