I have the same configuration and mine works well (ie, the JSESSIONID get/set works fine). I have something like

<VirtualHost _default_:443>

#  General setup for the virtual host
DocumentRoot "/www/apache/htdocs"
ServerName www.myserver.unicamp.br
ServerAdmin [EMAIL PROTECTED]
ErrorLog /www/apache/logs/error_log
TransferLog /www/apache/logs/access_log


ProxyRequests Off


ProxyPass / http://tomcat01.sist.unicamp.br:8080/
ProxyPassReverse / http://tomcat01.sist.unicamp.br:8080/
...
</VirtualHost>

And my Apache server is one firewall away from the Tomcat servers.

Fabio.


Gaston Escobar wrote:


Sorry, I've made a mistake, I'm not using mod_jk, I'm just using mod_proxy.
So, the only possibilty I have is to change from proxy pass to mod_jk?





-----Mensaje original-----
De: p niemandt [mailto:[EMAIL PROTECTED]
Enviado el: Jueves, 06 de Marzo de 2003 11:36 a.m.
Para: Tomcat Users List
Asunto: Re: proxy and sessions problem


Don't use both proxy pass and mod_jk: use either one or the other.


To keep your sessions, you will need to use mod_jk.

Sadly this is about the extend of my advice: other people on the list
might have better advice. I know I had to change from proxy pass to
mod_jk to keep my session

On Thu, 2003-03-06 at 13:57, Gaston Escobar wrote:


(tomcat 4.1.18 + apache 1.3 + mod_jk + Linux + Proxy via Apache ProxyPass)
I have the following scenario.:
A main server that runs Apache with mod_proxy:

ProxyPass /tomcat http://mytomcatserver
ProxyPassReverse /tomcat http://mytomcatserver

When someone request an URL containing "/tomcat" then apache redirects the
call to Tomcat server.

The problem is that with above approach, I lost session id?s
I also added "proxyName=mainserver" and "Proxyport=80" to the HTTP


connector


under server.xml, but no luck.

Can someone help me to fix this?

Thanks a lot


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
p niemandt <[EMAIL PROTECTED]>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





-- Fabio Mengue - Centro de Computacao - Unicamp [EMAIL PROTECTED] [EMAIL PROTECTED] ---------------------------------------------------------------- [The First Rule of Program Optimization] Don't do it.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to