Tomcat AJP Keepalive and tcp settings

2009-07-02 Thread J Channel
Hi! There is tcpdump out between tomcat 10.0.0.51 server and apache+mod_jk on 10.0.0.52 Start TCP session: 13:45:47.289899 IP 10.0.0.52.53082 > 10.0.0.51.8003: S 4292589130:4292589130(0) win 5840 13:45:47.289907 IP 10.0.0.51.8003 > 10.0.0.52.53082: S 129259122:129259122(0) ack 4292589131 win 5792

Tomcat generate pages with links like /image/hotel3455.jpg;jsessionid=0D42C72326D97D8E32C950562B8DDA46

2009-05-06 Thread J Channel
Hi. My tomcat periodically generate pages with links like /image/hotel3455.jpg;jsessionid=0D42C72326D97D8E32C950562B8DDA46 And send me cookie with JSESSIONID even for images request http://mysite.com//image/hotel3455.jpg. Is this ok? How can i prevent session generation for static content kind of i

Re: Tomcats in two mod_jk lb-clusters simultaneously

2009-04-13 Thread J Channel
first fails (as your diagrams seems to show)? > > -----Original Message- > From: J Channel [mailto:jchann...@gmail.com] > Sent: Monday, April 13, 2009 11:58 AM > To: Tomcat Users List > Subject: Tomcats in two mod_jk lb-clusters simultaneously > > Im need it for failover i

Tomcats in two mod_jk lb-clusters simultaneously

2009-04-13 Thread J Channel
Im need it for failover issues. Is this possible? Scheme of my idea here: http://pic.ipicture.ru/uploads/090413/k3k83oomS1.gif Any remarks are welcome. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
> RewriteRule ^myapp/some(.*)  script.shtml%{QUERY_STRING} [L] > # Line above will be ignored > JkMount /myapp/* balancer > > May be this is just a bug? > So, i found that its work only if condition begins with / RewriteRule ^/myapp/some?(.*) /script.shtml?%{QUERY_STRING} [L,PT] Other conditions

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
Hi, Rainer! Thx for you answer, its look like good solution, but anyway ignoring line BEFORE JkMount - a bit stupid behavior. RewriteRule ^myapp/some(.*) script.shtml%{QUERY_STRING} [L] # Line above will be ignored JkMount /myapp/* balancer May be this is just a bug? ---

Re: RewriteRule inside JkMount location

2009-04-11 Thread J Channel
I found that its work ok with httpd.conf like this: ... JkMount /app/* balancer JkUnMount /app/ntd/* balancer ... But this is not very well cause i need to add many exception pathes like this to httpd.conf :( I just need to have mod_rewrite directives with more priority than JkMount. Just like in

Re: RewriteRule inside JkMount location

2009-04-10 Thread J Channel
2009/4/11 Rainer Jung : > On 10.04.2009 23:24, J Channel wrote: >> 2009/4/11 Rainer Jung >>> On 10.04.2009 21:41, J Channel wrote: >>>> Hi!Apache 2.2.11, mod_jk 1.2.28 >>>> >>>> httpd.conf: >>>> LoadModule jk_module modules/mod_jk.

Re: RewriteRule inside JkMount location

2009-04-10 Thread J Channel
2009/4/11 Rainer Jung > > On 10.04.2009 21:41, J Channel wrote: > > Hi!Apache 2.2.11, mod_jk 1.2.28 > > > > httpd.conf: > > LoadModule jk_module modules/mod_jk.so > > JkOptions   +ForwardURICompat > > JkMount /app/* balancer > > LoadModule rewrit

RewriteRule inside JkMount location

2009-04-10 Thread J Channel
Hi!Apache 2.2.11, mod_jk 1.2.28 httpd.conf: LoadModule jk_module modules/mod_jk.so JkOptions +ForwardURICompat JkMount /app/* balancer LoadModule rewrite_module modules/mod_rewrite.so DocumentRoot /var/www/public_html .htaccess in docroot: RewriteEngine On RewriteCond %{QUERY_STRING} !dyn\=1 Re