Merge branch 'german-translation' into 'master'
protect .htaccess and config.php against accessing by strangers Currently .htaccess and config.php can be accessed from strangers via http so I modified the .htaccess file to make sure they are not accessible via http. See merge request !4
This commit is contained in:
commit
ecbd467e64
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>
|
Loading…
Reference in New Issue