mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +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!
|
||||
#Redirect /conf/settings.xml /index.php
|
||||
<Files ~ "^settings\.xml">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
# Deny all requests from Apache 2.4+.
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
||||
# 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