[squid-users] Proxying webservices: modify URL externally

Lucas van Braam van Vloten lucas2 at dds.nl
Fri Sep 25 09:27:39 UTC 2015


Hello,

I would like to use Squid to forward requests to webservices.
I would like to accomplish the following:

Traffic is initially directed directly to the Squid server at its
internal address, for example:
    http://squid.server.local/first/webservice/

The request to the actual webservice is originated from the Squid
server, for example:
   https://internet-webservice.example.com/soap/in/

I can configure Squid so that internal requests are connected to the
external webservice. Client certificate authentication is handled by
Squid. However this is based on the FQDN only, everything that comes
after the FQDN (the second part of the URL) is passed through to the
external service.

I would like to modify the second part of the URL, so that an internal
connection to ".../first/webservice/", is externally connected to
".../soap/in/"
Everything that comes after the second part of the URL should be passed
through as usual.

My question is: Can it be done?

Kind regards,
Lucas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150925/53d0d10a/attachment.html>


More information about the squid-users mailing list