Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Need help with RewriteRule

robert badaracco

2008-07-07

Replies: Find Java Web Hosting

Author LoginPost Reply

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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.