You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joost Kuif <Jo...@mobillion.nl> on 2006/01/11 13:46:08 UTC

Apache AJP, SSL and Cocoon

Hi,

I have a website which consists of a http and a https(ssl) part. In the
future i'll have a Apache webserver in front of the cocoon server.

At the moment HTTPS is only used for logging in to the website.
The HTTP part (running on Cocoon) contains a login form which posts its
data to a servlet listening on a HTTPS port. After the userdata is
validated the user is redirected back to the HTTP site. 
Now i want to add other functionality to the HTTPS part (like users
being able to change settings). And cocoon funtionality is likely to
move more towards the HTTPS part.

And i wondered: Is it possible to connect to only one cocoon instance
from both the HTTP and HTTPS port on the apache webserver via AJP (and
in this way prevent that we have to maintain two sourcetrees)?

Joost


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


Re: Apache AJP, SSL and Cocoon

Posted by Jason Johnston <co...@lojjic.net>.
Joost Kuif wrote:
 > Hi,
 >
 > I have a website which consists of a http and a https(ssl) part. In the
 > future i'll have a Apache webserver in front of the cocoon server.
 >
 > At the moment HTTPS is only used for logging in to the website.
 > The HTTP part (running on Cocoon) contains a login form which posts its
 > data to a servlet listening on a HTTPS port. After the userdata is
 > validated the user is redirected back to the HTTP site.
 > Now i want to add other functionality to the HTTPS part (like users
 > being able to change settings). And cocoon funtionality is likely to
 > move more towards the HTTPS part.
 >
 > And i wondered: Is it possible to connect to only one cocoon instance
 > from both the HTTP and HTTPS port on the apache webserver via AJP (and
 > in this way prevent that we have to maintain two sourcetrees)?
 >

I'm doing this same thing and it works just fine, though I'm using 
mod_proxy rather than AJP.  But I don't see why it couldn't also be done 
with the AJP connector, just duplicate its configuration in your SSL 
VirtualHost.

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