Need help with RewriteRule

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux