[squid-users] Squid reverse proxy: www.site1.com to www.site2.com/foo/
Amos Jeffries
squid3 at treenet.co.nz
Sat Apr 30 23:33:02 UTC 2016
On 30/04/2016 1:16 a.m., Roberto Carna wrote:
> Dear, I'm using Squid in reverse proxy mode.
>
> Everything is OK, but now I have to do this:
>
> If a user put in the browser:
>
> http://www.site1.com
>
> Squid reverse has to redirect to:
>
> http://www.site2.com/foo/
>
> How can I do this???
>
acl site1 dstdomain www.site1.com
deny_info 302:http://www.site2.com/foo%R site1
http_access deny site1
Amos
More information about the squid-users
mailing list