David Leangen wrote:
Hello!
I've read through the documentation, but there's a lot to digest.
Can anybody tell me if Squid is the right product for me? Here is a
summary of what I'd like to do.
I would like to set up a proxy that will forward outside HTTP/HTTPS
requests to a different internal server depending on the URL.
For example:
http://www.mydomain.com --> http://192.168.1.2:80
http://www.mydomain.com/A/* --> http://192.168.1.2:8080
http://www.mydomain.com/B/* --> http://192.168.1.2:8081
http://www.myotherdomain.com --> http://192.168.1.4:80
Can Squid do this? If so, how? Redirectors doesn't seem to be the
right approach, so I'm not sure how this works.
Yes.
You have to write a redirector for these requests.
http://www.squid-cache.org/Doc/FAQ/FAQ-15.html#ss15.1
search in the squid list, it has been responded many times, with
different examples.
Thanks
Emilio C.