Htaccess / authentication for domains on a mulitsite neos

Hello Everyone,

we use Neos on a Multisite-Installation. Now we want to use an authentication (htaccess) for each domain as long as the Site isn’t finished / live.

So we have for exmple:
www.domain1.de <- ist live, no authentication required to view the page.
www.domain2.de <- is not live yet, we need an authentication to view the page.
www.domain3.de <- is not live yet, we need an authentication to view the page.
www.domain4.de <- ist live, no authentication required to view the page.

Each domain which is not live yet should have inidvidual authentication users.

I appreciate any idea how to do this properly?

Robby :slight_smile:

Hi @rjansch

Just did a quick google as it seemed to be a interesting topic.

I ended up finding this

http://surprisehighway.com/article/how-to-password-protect-development-and-staging-sites-with-htaccess

Which I guess solves your question :slight_smile:

Great Thank you very much - that will help me!

I let you know how we will implement it.

Robby

Great Link, works with us and even our caddy configuration!

Thank you
Robby