[Zope-dev] ZServer hardcodes "http"
Amos Latteier
amos@aracnet.com
Mon, 11 Oct 1999 09:06:54 -0700
At 10:54 PM 10/11/99 +0800, Ng Pheng Siong wrote:
>I've put together a HTTPS_Server for ZServer, based on my https_server.
Interesting, I'd like to hear more about this project.
[base URL is http:// not https://]
Perusing the ZPublisher sources it appears the HTTPS=on must be set in the
environment in order for ZPublisher to set a base URL that begins https://
I believe that just setting this environment variable will fix this for
you. If not, you'll need to hack ZServer/HTTPServer.py to put HTTPS=on in
ZServer's environment. This would probably be done in
zhttp_handler.get_environment.
Good luck!
-Amos