.htaccess protection on folder for specific domain, multi-domain-sites
10. April 2014
########################################################################## # Password-protection for domain-b.tld --> domain-a.tld is still available SetEnvIfNoCase Host ^www\.domain-b\.tld$ SECURED=yes AuthType Basic AuthName "Restricted area of domain-b.tld" AuthUserFile /var/www/vhosts/www.domain-b.tld/.htpasswd Require valid-user Satisfy any Order allow,deny Allow from all Deny from env=SECURED ##########################################################################