httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert.badara...@mbusa.com
Subject [users@httpd] Need help with RewriteRule
Date Mon, 07 Jul 2008 21:51:34 GMT

Given the following: RewriteRule ^(.*)$  /ProxyServlet?$1

http://www.example.com/companyinfo redirects to
http://www.example.com/ProxyServlet?/companyinfo as expected.

But this redirect using the same RewriteRule yields:
http://www.example.com/SomeServlet/?src=xxxxx&target=yyyy redirects to
http://www.example.com/ProxyServlet?/SomeServlet/

As you can see, we don't get the remaining portion of the URL:
?src=xxxxx&target=yyyy

Can anyone offer any suggestions on how to adjust the rule to fix this?

Thanks
Bob


If you are not the intended addressee, please inform us immediately that you have received
this e-mail in error, and delete it. We thank you for your cooperation.  
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message