tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kakunin" <akaku...@gmail.com>
Subject Re: mod_jk & JkStripSession for skiped files
Date Wed, 18 Apr 2007 13:33:22 GMT
Thank you, changing to JkUnmount helps!

2007/4/18, Rainer Jung <rainer.jung@kippdata.de>:
>
> no-jk is a last minute exit from forwarding and comes after the usual
> forwarding/strip session handling.
>
> Try to use JkUnMount instead of no-jk. That should make your config
> work, including stripping sessions.
>
> Let us know, if that works.
>
> Regards,
>
> Rainer
>
> Alexey Kakunin wrote:
> > Hello!
> >
> > Starting from version 1.2.21 of mod_jk I found there very interesting
> > option:
> > JkStripSession. BY reading it's description - I hoped it will help me to
> > fix
> > old problem, but - seems no -maybe somebody will able to explain me -
> that
> > I'm doing wronge.
> >
> > So, I have followed part related to mod_jk in my apache 2.2.4
> > configuration:
> >
> > LoadModule    jk_module  modules/mod_jk.so
> > JkWorkersFile conf/workers.properties
> > JkShmFile mod_jk.shm
> > JkLogFile     logs/mod_jk.log
> > JkLogLevel    info
> > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> >
> > <VirtualHost xxx.yyy.zzz>
> >    ServerName xxx.yyy.zzz
> >
> >    JkStripSession On
> >    JkMount  /* worker1
> >
> >
> >    Alias /resources "C:\tomcat5520\webapps\ROOT\resources"
> >    SetEnvIf Request_URI "/resources/*" no-jk
> >
> >
> > <Directory "C:\tomcat5520\webapps\ROOT">
> >    Options Indexes FollowSymLinks
> >    Order allow,deny
> >    Allow from all
> > </Directory>
> >
> > </VirtualHost>
> >
> >
> > So, problem is - then I load page for first time, tomcat adds jsessionid
> > for
> > all links on the page - including for links to the images, stored in
> > resources folder.
> > Apache to not passed requests to /resources to tomcat - and handle it by
> > itself - but, since jsessionid is added - it tried to find files with
> this
> > jsessionid - and failed.
> >
> > I hoped new option JkSkipSession will help - but it still tried to find
> > files with this jsessionid - maybe I configured something wrong?
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
With Best Regards,
Alexey Kakunin, EmDev Limited

Professional Software Development:
http://www.emdev.ru

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message