Home Apache Rewrite proxy with querystring
Reply: 0

Apache Rewrite proxy with querystring

Raffaele
1#
Raffaele Published in 2017-11-10 16:17:52Z

My current proxy configuration on Apache is

<Location "/myservice/resource">
    ProxyPass "https://www.extServer.com/myService/service?param1=value"
    ProxyPassReverse "https://www.extServer.com/myService/service?param1=value"
</Location>

This is wrong because of the presence of querystring parameters that Apache ecode as %3f. I would like to use mod_rewrite to add query string parameters to the url (this is a fixed param needed by the server)

https://www.extServer.com/myService/service

I also need to manage the case where other querystring params needs to be forwarded to the server. Anyway I cannot figure out the proper way of doing so.

Thanks

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.298624 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO