Java Mailing List Archive

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

Home » users.httpd »

Re: [users@httpd] Need help with RewriteRule

Eric Covener

2008-07-07

Replies: Find Java Web Hosting

Author LoginPost Reply
On Mon, Jul 7, 2008 at 5:51 PM, <robert.badaracco@(protected):
>
> Given the following: RewriteRule ^(.*)$ /ProxyServlet?$1

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

See the [QSA] flag.


--
Eric Covener
covener@(protected)

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