1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-20 11:16:36 +02:00

protect .htaccess and config.php against accessing by strangers

This commit is contained in:
Heiko Adams 2015-08-12 21:09:35 +02:00
parent 45913edda0
commit 4a02c2fd56

View File

@ -1,3 +1,16 @@
AddType image/svg+xml svg
AddType image/svg+xml svgz
# PROTECT all htaccess files
<Files ~ "^[\._]ht">
Order Allow,Deny
Deny from all
Satisfy All
</Files>
# PROTECT config.php
<files config.php>
Order Allow,Deny
Deny from all
Satisfy all
</files>