mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
add config for apache 2.4 and 2.2
This commit is contained in:
parent
daf08343e3
commit
0dbeebee80
|
@ -1,6 +1,10 @@
|
||||||
# Make sure settings.xml can not be opened from outside!
|
# Make sure settings.xml can not be opened from outside!
|
||||||
#Redirect /conf/settings.xml /index.php
|
# Deny all requests from Apache 2.4+.
|
||||||
<Files ~ "^settings\.xml">
|
<IfModule mod_authz_core.c>
|
||||||
Order allow,deny
|
Require all denied
|
||||||
Deny from all
|
</IfModule>
|
||||||
</Files>
|
|
||||||
|
# Deny all requests from Apache 2.0-2.2.
|
||||||
|
<IfModule !mod_authz_core.c>
|
||||||
|
Deny from all
|
||||||
|
</IfModule>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user