File di configurazione Apache

This commit is contained in:
torn 2017-01-25 18:36:04 +01:00
parent 620c6a5b20
commit 2afa749372

View file

@ -99,17 +99,17 @@
DocumentRoot "/var/www/adminer/" DocumentRoot "/var/www/adminer/"
<Directory />
AuthType Basic
AuthUserFile "/var/www/adminer/.htpasswd"
AuthName "Adminer"
Require valid-user
</Directory>
<Files ".*"> <Files ".*">
#Require all denied #Require all denied
Order deny,allow Order deny,allow
Deny from all Deny from all
</Files> </Files>
<Location />
AuthType Basic
AuthUserFile "/var/www/adminer/.htpasswd"
AuthName "Adminer"
Require valid-user
</Location>
</VirtualHost> </VirtualHost>