[wp-hackers] SSL Domain Mapping with WP Multisite

Lox lox.dev at knc.nc
Wed Jun 6 21:09:29 UTC 2012


I hacked the domain mapping plugin so that SSL request of a site is mapped
to the main site:

ex:
mainsite.com and mainsite.com/site mapped to site.com

When site.com is accessed using SSL, it gets redirected to
https://mainsite.com/site.

2012/6/5 Bryan Petty <bryan at ibaku.net>

> On Mon, Jun 4, 2012 at 10:43 AM, Brian Layman
> <wp-hackers at thecodecave.com> wrote:
> > On 6/4/2012 11:27 AM, Bryan Petty wrote:
> >>
> >> On Mon, Jun 4, 2012 at 9:20 AM, Brian Layman<wp-hackers at thecodecave.com
> >
> >>  wrote:
> >>>
> >>> So I guess it depends upon your target audience.  I wonder; how do you
> >>> handle fail over if SNI doesn't work?  Can you even detect that?
> >>
> >> In Apache, just make sure you have a default VirtualHost loaded first
> >> on the same IP/port combination as all your SNI hosts, leave
> >> SSLStrictSNIVHostCheck off, and all browsers that don't support SNI
> >> will be forwarded there.
> >
> > Will be forwarded there or will get that certificate?
>
> Both, which I guess brings up a good point, it likely won't be the
> appropriate SSL certificate, but it will be one.
>
> Regards,
> Bryan Petty
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Lox
lox.dev at knc.nc


More information about the wp-hackers mailing list