Variable in Path to .htpasswd file in .htaccess -
would possible have {http_host} variable in path? because htaccess used multiple domains , want use different passwords each domain!
authuserfile /usr/test/{http_host}/.htpasswd authtype basic authname "my files" require valid-user
update:
tested above code , gives 500 internal server error (off course authuserfile points directory exist on server)
Comments
Post a Comment