[Zope-dev] ZServer hardcodes "http"

Ng Pheng Siong ngps@post1.com
Mon, 11 Oct 1999 22:54:48 +0800


Hi,

I've put together a HTTPS_Server for ZServer, based on my https_server.

Let's say I run HTTPS_Server at https://127.0.0.1:8443. I can get to
Zope's default main screen; however the url's returned are http,
e.g., http://127.0.0.1:8443/QuickStart. That is, these are _http_
urls pointing to my _https_ server.

Naturally, when I connect to such a url, the server generates a
SSL23_GET_CLIENT_HELLO error, because my browser is talking http, not 
https.


Using HTTPServer, I look at the DTML for index_html and see:

    <a href="<!--#var URL1-->/QuickStart/">QuickStart</a> material.

Browse around the web UI... Didn't see anywhere to change URL1 easily.


So, RTFM... Ok, found the explanation for URLn under "name lookup" in 
the DTML Reference. 

Fine. But I'm still stuck. 

Thus, my questions are: why is "http" hardcoded, and where do I change 
it?

TIA. Cheers.


PS. https_server comes with M2Crypto. http://www.post1.com/home/ngps

PPS. I'm not subscribed to the list. Please cc your replies to me.

-- 
Ng Pheng Siong <ngps@post1.com>