mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 11:05:57 +00:00
protect .htaccess and config.php against accessing by strangers
This commit is contained in:
13
.htaccess
13
.htaccess
@@ -1,3 +1,16 @@
|
|||||||
AddType image/svg+xml svg
|
AddType image/svg+xml svg
|
||||||
AddType image/svg+xml svgz
|
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>
|
||||||
Reference in New Issue
Block a user