httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nino Saturnino Martinez Vazquez Wael <nino.marti...@jayway.dk>
Subject Re: [users@httpd] ProxyPass/ProxyPassreverse shared cookies?
Date Wed, 28 May 2008 11:48:55 GMT
Okay since im not drowning in solutions for using mod proxy. I'll try to 
use mod jk. But before  I do so I have the following question:

How do I setup Apache HTTP to only forward to certain parts of tomcat, 
depending on incomming network. Currently I have 2 application, which 
needs to share a cookie these two show be available from out side using 
the following mapping:
{pseudo syntax}
mydomain.dk  /tomcat/appA
forum.mydomain.dk /tomcat/appB

But for some of the administrative tasks I have some admin 
applications(tomcat defaults), these I do not want to be available from 
the mydomain.dk but only via the internal ip address.

how do I do this?


Thanks in advance..

Nino Saturnino Martinez Vazquez Wael wrote:
>
>
> Davide Bianchi wrote:
>> Nino Saturnino Martinez Vazquez Wael wrote:
>>> Hmm, well because I'd like the configuration to be simple (which it 
>>> arent really now). And wanted it to be at apache HTTP configured not 
>>> a mix of HTTP and tomcat.. So no real arguments, I guess I could 
>>> change it. However the only thing bothering me now are cookies. So 
>>> if the only way are mod_jk i'll have to take that i guess?
>>
>> I'm not completely sure if the cookie problem is generated by the 
>> proxy module or not, the proxy directives should simply 'route' the 
>> connection to tomcat and back, I was just wondering the reason to 
>> stick to a proxy configuration where a mod_jk one would have been 
>> much simpler.
> It started out a bit simpler sticking to proxy... Where as mod_jk had 
> changes two places both in tomcat and http.
>>
>> But if you connect directly with Tomcat (by using the :8080 port in 
>> the URL) and have no trouble with the cookies bit, I suppose the 
>> problem does lies in the proxy module.
> If I connect directly to tomcat, I do get my cookies. It's the same 
> with jetty, which Im using for development. So it seems that it's 
> probably my configuration of the proxy module thats lacking something. 
> I just wonder what im doing wrong.
>>
>> Davide
>>
>

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message