Forum Moderators: phranque

Message Too Old, No Replies

Need Help Bad With ProxyPassReverseCookieDomain

Need Help Bad With ProxyPassReverseCookieDomain

         

4kau

4:07 am on Jan 31, 2008 (gmt 0)

10+ Year Member



I have two application servers and both are on different Internal IPs. Then I have a file sharing server on a different Internal IP as well.

I have setup a subdomain; subdomain.domain.com.

You can access user's profiles using this subdomain such as [subdomain.domain.com...]

It re-routes you to a script using mod_proxy;

RewriteRule ^(.*)$ [domain.com...] [P]

Now this all works fine.

You can access [subdomain.domain.com...] and it will show you the data from [domain.com...] however the URL stays at [subdomain.domain.com...]

Here is the problem.

If you log into www.domain.com the cookie is set and all is fine. You can browse the entire website and stay logged in.

However if you access [subdomain.domain.com...]

You get logged out.

Even if you go back to www.domain.com you are still not logged in anymore.

I have been told I need to use ProxyPassReverseCookieDomain in order to solve this but I am unsure of what my settings should be in the domain.com.conf file.

jdMorgan

3:47 pm on Feb 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Anyone in the house using cookies and mod_proxy?

(Bump)

Jim