Migrate away from apache access_compat to authz_host.
This commit is contained in:
parent
234ac67634
commit
07a540cc8c
2 changed files with 6 additions and 11 deletions
|
@ -29,14 +29,9 @@
|
|||
AuthName "Restricted"
|
||||
AuthUserFile HOME_DIR/XXX/.htpasswd
|
||||
AuthType Basic
|
||||
require valid-user
|
||||
|
||||
Order Deny,Allow
|
||||
Deny from all
|
||||
Require valid-user
|
||||
|
||||
#Include /etc/apache2/ipaddr_whitelist.conf
|
||||
|
||||
Satisfy any
|
||||
</Directory>
|
||||
|
||||
# user - group (thanks to sesse@debian.org)
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
|
||||
Deny from all
|
||||
|
||||
#Allow from XXX.XXX.XXX.XXX
|
||||
Require all denied
|
||||
#Comment the previous directive when enabling the next
|
||||
#Require ip XXX.XXX.XXX.XXX
|
||||
</Directory>
|
||||
|
||||
<Directory /var/www/>
|
||||
|
@ -41,11 +41,11 @@
|
|||
#<Directory /usr/share/horde3>
|
||||
# Options FollowSymLinks
|
||||
# AllowOverride Limit
|
||||
# Allow from all
|
||||
# Require all granted
|
||||
#</Directory>
|
||||
|
||||
<Files ~ "\.(inc|bak)$">
|
||||
deny from all
|
||||
Require all denied
|
||||
</Files>
|
||||
|
||||
</VirtualHost>
|
||||
|
|
Loading…
Add table
Reference in a new issue