After I posted my message I spent some time investigating the URI
generation.  I did notice that the scheme of the request should be used, but
it doesn't seem to work as I would expect.  I issue the following request
https://rubicon/servlets/Turbine


And end up with:

Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.


Hint: https://rubicon/


----------------------------------------------------------------------------
----

Apache/1.3.12 Server at rubicon Port 80
----- Original Message -----
From: John McNally <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Wednesday, March 22, 2000 8:14 AM
Subject: Re: mod_ssl


> When using DynamicURI in a response the scheme and port are set to
whatever
> the request values were.  This can be changed using the setServerScheme
and
> setServerPort methods.  I have recently added a method called setSecure()
> that reads a configuration property use.ssl in TurbineResources.  If this
> variable is true, it changes the scheme to https and the port to 443.
> Otherwise it leaves things alone.  Using setSecure can let you code so
that
> your program can degrade to using http if the user (installer) does not
wish
> to use the ssl features.
>
> Its use is something like:
> new DynamicURI(data, "DefaultScreen").setSecure()
>
> Of course, if your whole site is to use ssl, your initial call to Turbine
> will be using https and it should continue to so until you specifically
set
> the scheme to http.
>
> John McNally
>
>
>
> ----- Original Message -----
> From: christopher baus <[EMAIL PROTECTED]>
> To: Turbine <[EMAIL PROTECTED]>
> Sent: Tuesday, March 21, 2000 6:40 PM
> Subject: mod_ssl
>
>
> > I want to use turbine with ssl.  It seems that the URIs that are
generated
> > use http:// instead of https://.  How do I change the generation so that
> ssl
> > is used?
> >
> > thanks
> >
> > ~christopher
> >
> >
> >
> >
> > ------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Problems?:           [EMAIL PROTECTED]
> >
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to