On Wed, Apr 6, 2011 at 02:59, Jorge Infante Osorio <[email protected]> wrote:

> Thanks a lot Thomas.
>
> Right now I´m working in configure the ProxyPassReverseCookiePath.
> In your case you put: ProxyPassReverseCookiePath /cas /node01/cas what is
> the meaning of this?
>

It means : for every cookie sent by the server, rewrite the cookie path from
"/cas" to "/node01/cas". The cas server sets the path of the cookie it sends
to the first request context path it receives.



> My CAS server are show through the reverse proxy in this way
> http://reverseproxy/cas-web/
> My Liferay server are  show in this way: http://reverseproxy/
>
> Now I login into Liferay, and when I put http://reverseproxy/cas-web/login
> I asked for the user/pass again.
>
>
Try this (this is actually how our servers are setup) :

ProxyPassReverseCookiePath /cas-web /

This will tell apache to rewrite the cookies of your cas server to "/",
meaning the cookie will be sent back by the browser for every request to the
server.

Would'nt it be a good idea to add an option to the CAS to be able to set the
cookie path ?

Cheers
Thomas




> This is part of my reverse proxy configuration:
>
> ProxyPass /cas-web/      http://casaf.uci.cu:8079/cas-web/
> ProxyPassReverse /cas-web/      http://casaf.uci.cu:8079/cas-web/
>
> ProxyPass /           http://casaf.uci.cu:8080/
> ProxyPassReverse /    http://casaf.uci.cu:8080/
>
> Jorge.
>
> De: Thomas FRANCART [mailto:[email protected]]
> Enviado el: viernes, 25 de marzo de 2011 13:09
> Para: [email protected]
> Asunto: Re: [cas-user] SSO with CAS and reverse proxy
>
> I had the same problem and fixed it using a ProxyPassReverseCookiePath in
> apache. See if this thread helps :
> http://www.mail-archive.com/[email protected]/msg07288.html
>
> Cheers
> On Fri, Mar 25, 2011 at 17:55, Vipin Jain <[email protected]> wrote:
> i have done this with Liferay and Websphre in front of Apache as Reveree
> Proxy
> On Fri, Mar 25, 2011 at 12:04 PM, Jorge Infante Osorio <[email protected]>
> wrote:
> Hi all.
>
> I have configure an Apache reverse proxy to pass Request to a Liferay
> Portal
> and an Application in PHP. This work just well.
> By the another hand I have implemented the SSO functionality using CAS to
> authenticate users in Liferay and in the another application.
>
> The problem is that when I combine the reverse proxy with SSO the
> request/response are missing and the scenario don´t work.
>
> Anyone have this scenario implemented?
>
> Thanks,
> Ing. Jorge Infante Osorio.
> J´Dpto Soluciones SOA.
> CDAE.
> UCI
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
>
>
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
>
> --
> Thomas Francart
> CTO - Mondeca
> 3, cité Nollez 75018 Paris France
> Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59
> Web: www.mondeca.com
> Blog : Leçons de choses
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
> --
> You are currently subscribed to [email protected] as:
> [email protected]
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>


-- 
*Thomas Francart*
*CTO** - Mondeca*
3, cité Nollez 75018 Paris France
Tel. +33 (0)1 44 92 35 04 - fax +33 (0)1 44 92 02 59
Web: www.mondeca.com
Blog : Leçons de choses <http://mondeca.wordpress.com>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to