Special case where two hostnames per zotonic site should be possible #115

arjan opened this Issue Sep 5, 2011 · 3 comments


None yet

3 participants

arjan commented Sep 5, 2011

From http://code.google.com/p/zotonic/issues/detail?id=110

I have multiple zotonic sites running on one IP, each for a different domain/hostname.

Now I need SSL for the administration interface. I run an apache as ssl proxy, and for SSL, because I only have one IP, I have to bind all zotonic sites to the same domain:
[and so forth]

Zotonic unfortunately redirects all requests to the configured primary hostnames, which makes it impossible to use SSL. It would be nice if I could define more than one valid hostname, not just multiple hostaliases for each zotonic site. For this special case. Because without SSL, zotonic is virtually useless to me.

arjan commented Sep 5, 2011

There is an undocumented site config option: redirect.

When you add {redirect, false} to your site's config definition then the redirection to the main hostname will be disabled.

_Commented on Google Code by _profile.url**

arjan commented Sep 5, 2011

I do not wish to deactivate redirection altogether.

_Commented on Google Code by _hcespe...@googlemail.com**

kaos commented Sep 24, 2012

The commit mentioned above refer to a issue number on Google Code: http://code.google.com/p/zotonic/issues/detail?id=115
It is NOT a Github issue number in the commit message.

@mworrell mworrell closed this Apr 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment