digideskio / zotonic

Automatically exported from code.google.com/p/zotonic
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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:
   site1.myssldomain.com
   site2.myssldomain.com
   [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.

Original issue reported on code.google.com by hcespe...@googlemail.com on 11 Oct 2010 at 2:05

GoogleCodeExporter commented 8 years ago
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.

Original comment by ma...@pobox.com on 13 Oct 2010 at 5:54

GoogleCodeExporter commented 8 years ago
I do not wish to deactivate redirection altogether.

Original comment by hcespe...@googlemail.com on 19 Oct 2010 at 10:34