[cas-user] Reverse proxy with path change

2014-02-20 Thread Richard Frovarp
I'm trying to setup CAS behind an AJP proxy from HTTPD to Tomcat. That's all fine and easy to do. The problem I'm having is that I'm trying to change the path at the same time, and the login form isn't having any of it by using the Tomcat path of the application. Not sure if there is a setting

Re: [cas-user] Reverse proxy with path change

2014-02-21 Thread Alberto Cabello Sánchez
On Thu, 20 Feb 2014 10:32:45 -0600 Richard Frovarp wrote: > The plan is to run it > on the same Tomcat as our cas, so their Tomcat webapp path would need to > be /cas-bar. However, with this new one they are going to have their own > domain being fronted by HTTPD. So I would love for this to w

Re: [cas-user] Reverse proxy with path change

2014-02-21 Thread Kenneth Erard
"The current problem is the login form has action="/cas-bar/login;jsessionid=..."." If your proxy is getting hung up on the jsessionid in the url in its path, and you're running Tomcat 7 or Tomcat 8, you can modify web.xml in the cas-bar/WEB-INF directory by adding a tracking-mode tag:

Re: [cas-user] Reverse proxy with path change

2014-02-21 Thread Richard Frovarp
It's not the jsession id. It's action="/cas-BAR/..." instead of action="/cas/...". The path fragment is in the rendered HTML. Using mod_rewrite won't help me (unless I transparently make both work). There is an HTTPD 2.4 module that can rewrite HTML being passed through, but that isn't an optio