pigeonflight
(David Bain (Will Theme Plone Sites))
July 31, 2015, 2:26pm
#1
Normally I do this in Apache or nginx with a rewrite like this:
RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/https/yoursite.com:443/Plone/VirtualHostRoot/$1 [P,L]
Today I'm working with the TTW virtual_hosting (no access to configure the proxy).
Is there a way to set a mapping in {myinstance}/virtual_hosting/ so that https will work?
pigeonflight
(David Bain (Will Theme Plone Sites))
July 31, 2015, 2:33pm
#2
I figured it out, putting this in the virtual_hosting mappings worked for me.
example.com/VirtualHostBase/https/example.com/Plone
explanation:
example.com represents the URL of my site
/VirtualHostBase/https/example.com forces zope to serve example.com over https://
/Plone represents the path to my plone site