cyberick
5/15/2018 - 9:04 AM

Passwortschutz für einzelne Domain

# Passwortschutz für einzelne Domain
SetEnvIf Host my.sub.domain passreq
AuthType Basic
AuthName "Password Required"
AuthUserFile /home/httpd/vhosts/____ plesk hosting name___/httpdocs/htpasswd/.htpasswd
Require valid-user
Order allow,deny
Allow from all
Deny from env=passreq
Satisfy any