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 a
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
3:8009/pub/wiv/ [OK]
I want the URL bar to read:
http://dev2/pub/wiv/Shop_Surf_00314_All_The_Rage.asx
But the GET in the access log to read:
/pub/wiv?seoName=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
and tell me if it is
working
RewriteCond %{QUERY_STRING} "!^seoName"
RewriteRule /pub/wiv/(.*).asx$ /pub/wiv?seoName=$1 [QSA,PT]
RewriteRule /pub ajp://theTomcatBox:8009/pub [P]
At the momemt i use mod_jk to the back tomcat, but i will check this with
mod_
d_mbox/httpd-users/200512.mbox/[EMAIL
PROTECTED]
It might help you.
Cheers,
Rajendra
-----Original Message-
From: Pete Lamborne [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 10:10 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp
pplication 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_
QSA]
RewriteRule /pub ajp://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? (wit
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 don'
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:
does not get directed to
/newJSPpath/somedir
Direct calls to JSPs get mod_rewritten and mod_proxy_ajp'd as e
10 matches
Mail list logo