Upayavira,
my solution was to do:

RewriteRule (.*)\.(ssl)$ https://%{SERVER_NAME}$1.$2 [R]

Then within my virtual block i do:

RewriteRule (.*)\.(ssl)$ http://127.0.0.1:8080/beyarecords/$1.$2 [P,L]

regards

Andrew
On 4 Dec 2004, at 12:14, Upayavira wrote:

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to