cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@upaya.co.uk>
Subject Re: SSL + CFORMS
Date Sat, 04 Dec 2004 12:14:59 GMT
Andrew M wrote:

> Upayavira,
> I have Apache handling SSL as you mention and I tried to do the 
> following in my http.conf file:
>
> RewriteRule (.*)\.(ssl)$ https://localhost:8080/mysite/$1.$2 [P,L]
>
You want to proxy using normal HTTP, not HTTPS.

HTTPS gets the user to the server, then Apache does normal HTTP 
internally, where the SSL isn't really needed. So your servlet container 
only needs to know how to talk HTTP on port 8080.

Regards, Upayavira

>> Andrew M wrote:
>>
>>> Hi,
>>> the function I was referring to is showForm and not sendPageAndWait.
>>
>>
>> If you've got to the point where you're doing a showForm, you're too 
>> late, as showForm, and sendPage, etc, are internal redirects.
>>
>> At some point you either need to do cocoon.redirectTo("https://...") 
>> or have an HTML form submit to an https version of your site. Then, 
>> if you've got Apache in front of your servlet container handling the 
>> SSL, as far as your servlet container is concerned, nothing has changed.
>>
>> Make sense?
>>
>> Regards, Upayavira
>>
>>> On 4 Dec 2004, at 00:59, Andrew M wrote:
>>>
>>>     Hi,
>>>     I have a requirement whereby a particular page in my site takes a
>>>     clients credit card details, so in flow I need to be able to SSL
>>>     the credit card page:
>>>
>>>     cocoon.sendPageAndWait("https://www.mysite.com/CreditCard.xml",
>>>     {"neworder":neworder});
>>>
>>>     Can I do this, or something similar?
>>>
>>>     many thanks
>>>
>>>
>>>     Andrew
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message