[EMAIL PROTECTED] mod_rewrite w/ mod_proxy_ajp loses JSESSION

2006-02-10 Thread Pete Lamborne
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.

[EMAIL PROTECTED] Losing session -- mod_rewrite

2006-01-06 Thread Pete Lamborne
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

Re: AW: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-05 Thread Pete Lamborne
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

Re: AW: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-05 Thread Pete Lamborne
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

Re: AW: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-05 Thread Pete Lamborne
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_

Re: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-04 Thread Pete Lamborne
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

Re: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-03 Thread Pete Lamborne
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_

Re: [EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-03 Thread Pete Lamborne
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

[EMAIL PROTECTED] rewrite gurus help? (with mod_proxy_ajp)

2006-01-02 Thread Pete Lamborne
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'

[EMAIL PROTECTED] mod_rewrite not being applied to SSI

2005-12-30 Thread Pete Lamborne
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