RewriteRule Proxy problems

2001-07-30 Thread Philip Mak
I have a front-end lightweight Apache proxying Apache::ASP scripts to a backend mod_perl Apache. I am experiencing problems with query strings. In my lightweight httpd.conf, I have: RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p] If I go to

Re: RewriteRule Proxy problems

2001-07-30 Thread Perrin Harkins
In my lightweight httpd.conf, I have: RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p] If I go to http://www.buildreferrals.com/rotatorstats.asp, it gets proxy'd correctly. But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0 (that's the same URL, but with a

OT: Re: RewriteRule Proxy problems

2001-07-30 Thread ___cliff rayman___
Perrin Harkins wrote: In my lightweight httpd.conf, I have: RewriteRule ^/(.*)\.asp http://66.33.85.239/$1.asp [p] If I go to http://www.buildreferrals.com/rotatorstats.asp, it gets proxy'd correctly. But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0

Re: RewriteRule Proxy problems

2001-07-30 Thread Philip Mak
On Mon, 30 Jul 2001, Perrin Harkins wrote: But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0 (that's the same URL, but with a query string added), then I get a 404 Not Found error. Of course you do. Your regex ^/(.*)\.asp doesn't match that URL with the query

Re: RewriteRule Proxy problems

2001-07-30 Thread Perrin Harkins
But if I go to http://www.buildreferrals.com/rotatorstats.asp?login=pmak0 (that's the same URL, but with a query string added), then I get a 404 Not Found error. Of course you do. Your regex ^/(.*)\.asp doesn't match that URL with the query string. Why not? I did not put a $ at