I have an account within DA that is used as an acceptance server, it contains a lot of subdomains, each containing a copy of a website for the client to look at and give approval to modifications before they are applied to the live server.
The subdomains should be protected with a password to prevent unauthorized access from users and search engines.
It would be great if there was a way to automatically protect all those subdomains with a password, instead of having to add a .htaccess to each domain manually. (and having the risk of forgetting it or get conflicts with existing .htaccess files)
Is there a way to do this? Like adding something to the virtualhost?
The subdomains should be protected with a password to prevent unauthorized access from users and search engines.
It would be great if there was a way to automatically protect all those subdomains with a password, instead of having to add a .htaccess to each domain manually. (and having the risk of forgetting it or get conflicts with existing .htaccess files)
Is there a way to do this? Like adding something to the virtualhost?