Hi, has anyone experienced this?
when I do a rewrite, something like
www.mysite.com/something TO
www.mysite.com/tomcatContext/somewhere?foo=something
and dispatch it with AJP, it spawns a new user session.
If the original URL looks like
www.mysite.com/tomcatContext/something
then all is good.
Check this out:
I have two rewrite rules, basically going to the same place (same context):
RewriteRule ^/pub/?(.*) ajp://dev3:8009/pub/$1 [QSA,P,L]
RewriteRule ^/pub-test/?(.*) ajp://dev3:8009/pub/$1 [P,QSA,L]
The 1st one maintains session (tomcat backend), the 2nd does not,
generating
=Shop_Surf_00314_All_The_Rage
I am achieving the latter, but not the former.
I still cannot figure out why it rewrites the URL in the address bar
from this debug code.
Robert Ionescu wrote:
Pete Lamborne wrote:
Gentlemen, thanks for revisiting this; I have not gotten it to work
yet
Robert, if you are ever in Denver I am treating you to dinner.
Thanks so much
I've been battling this for days and it was that easy.
pete
Robert Ionescu wrote:
Pete Lamborne wrote:
[...]
RewriteEngine on
RewriteRule ^/pub/wiv/(.*)\.asx$ /pub/wiv?seoName=$1 [QSA]
RewriteRule ^/pub
://theTomcatBox:8009/pub [P]
ProxyPassReverse /pub ajp://theTomcatBox:8009/pub
-ascs
-Original Message-
From: Pete Lamborne [mailto:[EMAIL PROTECTED]
Sent: Monday, January 02, 2006 6:48 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)
Hey all
that was generating the redirect.
I take it you are using Apache 2.2 ?
-ascs
-Original Message-
From: Pete Lamborne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 6:56 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)
ASCS
Hey all,
There is very little info out there on this so far, given how new
mod_proxy_ajp is. One post I found seemed to indicate the same bug with
no solution
The problem is that I can't get mod_rewrite to work transparently with
mod_proxy_ajp. It either doesn't work at all (when I
This is Apache 2.2.
SSI's staying within apache of course work fine. But we are using
mod_rewrite to send old links to a new one, passed by mod_proxy_ajp to
Tomcat.
so for example:
!--#include virtual=/oldJSPpath/somedir--
does not get directed to
/newJSPpath/somedir
Direct calls to JSPs