Passroed protecting development sites

Events happening in the community are now at Drupal community events on www.drupal.org.
mrfelton's picture

I'm using Aegir to manage development and staging environments (by cloning the live site to additional domain names / platforms). I would like these additional development and staging environments to be password protected. How can I do this (is it currently possible) with Aegir, without having to resort to installing and configuring securesite on the additional environments?

Comments

One simple config change you

mattmcmanus's picture

One simple config change you could do is turn off anonymous access to content in the permissions settings.

That's not really a great

Josh Benner's picture

That's not really a great solution if you want to test anonymous access. While I usually do things local where nobody can get to it, there are cases where a site instance needs to be out on a server but protected, while being able to test anonymous access. We do this via HTTP Basic Auth on most sites, but I'm not sure how we'd do this on sites in distributed-team QA with Aegir.

The "ideal" solution would be

Josh Benner's picture

The "ideal" solution would be to hook up HTTP basic auth in the vhost config to Aegir's user DB. This could be tricky, given how finnicky versions of mod_auth_mysql can be.

Either hooked up to mysql for

mrfelton's picture

Either hooked up to mysql for auth, or a way of pointing Aegir at an httpaswd file for specific sites.

--
Tom
www.systemseed.com - drupal development. drupal training. drupal support.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: