[Zope] Re: Zope-2.7 both http and https in parallel?
sascha.ottolski at gallileus.de
Thu May 6 12:27:44 EDT 2004
> > Now the missing piece is, to add the "HTTPS ON" Header only for
> > to port 443.
> exactly. Thats why I wrote a patch. It adds a <https-server> stanza
> identical to <http-server> but adding the HTTPS ON header
thanks for the reply, this looks very helpfull. For those who don't want
to patch the sources, I've found another solution, that seems to work
quite well: add an access rule like this:
request = container.REQUEST
if request.SERVER_URL[-4:] == ':443':
The second commented line seems to be an interesing option if you don't
want every URL to be "https". I tried this with a pound proxy in front,
but this should work without as well.
Gallileus - the power of knowledge
Gallileus GmbH http://www.gallileus.info/
Pintschstraße 16 fon +49-(0)30-41 93 43 43
10249 Berlin fax +49-(0)30-41 93 43 45
AKTUELLER HINWEIS (Mai 2004)
Literatur Alerts - Literatursuche (wie) im Schlaf!
Ab jetzt mehr dazu unter:
More information about the Zope