How to use a RELATIVE path with AuthUserFile in htaccess?
snippet in htaccess
How to use a RELATIVE path with AuthUserFile in htaccess?
user6072
<If "req('Host') = 'www.example.com'">
Authtype Basic
AuthName "user and password"
AuthUserFile /var/www/www.example.com/.htpasswd
Require valid-user
</If>