Re: Redirect to non-SSL
Stephan Diehl <[email protected]> Wed, 25 Apr 2007 09:57:42 +0200
| Newsgroups | gmane.comp.python.webware |
|---|---|
| Message-ID | <[email protected]> |
Chuck Esterbrook wrote: > To anyone who is running "https" on their site with webware, do you > have the following behavior? > > Enter URL into browser: > https://mysite/somedir > > Redirects to: > http://mysite/somedir/ > > In other words, the "https" changes to "http" in the redirect? I have the same behaviour. I had a quick look at the Webware code and there might be a problem with the HTTPRequest.serverURL method, which relies on a 'HTTPS' environment variable to decide if the original request was https or not. But I didn't follow this up, so this might be a reliable method. Cheers Stephan > > -Chuck > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Webware-discuss mailing list > Webware-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/webware-discuss > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/