I am running a Drupal 7 multisite platform in which sites will be added at a later date to a live version of the website. During the testing process I need the new sites to be on their final live domain but not be viewable by anyone outside of the company.

With single sites we usually achieve this by using the .htaccess and .htpasswd to password project the entire site.

Is there a way to achieve this for induvidual sites on a multisite platform?

  • Yep, just set basic auth for the relevant vhosts only, not all of them
    – Clive
    Aug 13 '14 at 11:04
  • Not sure what you mean, can you provide an example?
    – Sean Lang
    Aug 13 '14 at 11:06
  • Assuming your web server is apache: serverfault.com/questions/127708/…
    – Clive
    Aug 13 '14 at 11:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.