Welcome to WebmasterWorld Guest from 54.197.116.116

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

ProxyPass - cookie problem

   
12:33 pm on Apr 4, 2013 (gmt 0)



Hi

I want to redirect request for /app1 and /app2 to two different host with this same application /app3.
Here is my config file:

ProxyPass /app1 ajp://localhost:8009/app3
ProxyPassReverse /app1 ajp://localhost:8009/app3
ProxyPassReverseCookiePath /app3 /app1

ProxyPass /app2 ajp://localhost:8209/app3
ProxyPassReverse /app2 ajp://localhost:8209/app3
ProxyPassReverseCookiePath /app3 /app2

Application /app3 use cookie in session so I need to use ProxyPassReverseCookiePath. But how tu use this command twice for /app3 ?

Best regards