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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -