I wanted to access Zope using HTTPS without using Apache (just because it seemed like overkill). I managed to get things to work using stunnel to wrap everything in SSL: stunnel -d 8443 -r 8080 and using Virtual Host Monster to rewrite the incoming URLs with an entry on the Mapping tab (instead of using Apache to rewrite): myhost.com/VirtualHostBase/https/myhost.com:8443/VirtualHostRoot This seems to work just fine (on Zope 2.7). My question is whether this is a supported use of the VHM mapping feature. The docs I've seen don't mention use of the VirtualHostBase and VirtualHostRoot elements in a mapping; they emphasize mapping host names to folders. Roy
Roy Hashimoto wrote:
I wanted to access Zope using HTTPS without using Apache (just because it seemed like overkill).
?! Apache is your best bet by a long long long long way here... I managed to get things to work using stunnel
to wrap everything in SSL:
stunnel -d 8443 -r 8080
and using Virtual Host Monster to rewrite the incoming URLs with an entry on the Mapping tab (instead of using Apache to rewrite):
myhost.com/VirtualHostBase/https/myhost.com:8443/VirtualHostRoot
This seems to work just fine (on Zope 2.7). My question is whether this is a supported use of the VHM mapping feature.
Sure it is :-)
elements in a mapping; they emphasize mapping host names to folders.
That's the most common usecase, yes... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Roy Hashimoto wrote at 2004-3-2 15:03 -0800:
I wanted to access Zope using HTTPS without using Apache (just because it seemed like overkill). I managed to get things to work using stunnel to wrap everything in SSL:
stunnel -d 8443 -r 8080
and using Virtual Host Monster to rewrite the incoming URLs with an entry on the Mapping tab (instead of using Apache to rewrite):
myhost.com/VirtualHostBase/https/myhost.com:8443/VirtualHostRoot
This seems to work just fine (on Zope 2.7). My question is whether this is a supported use of the VHM mapping feature.
I think you can use it this way... -- Dieter
participants (3)
-
Chris Withers -
Dieter Maurer -
Roy Hashimoto