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
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
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
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
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