Re: [squid-users] Squid3 Reverse Proxy based on url path

From: Peng, Jeff <pyh_at_l.nsbeta.info>
Date: Thu, 13 May 2010 23:29:41 +0800

2010/5/13 rainolf <rainolf_at_gmail.com>:
>
> Hi everybody,
> i'm confuguring squid3 on debian lenny in order to send request on multiple
> web server...
>
> my needs must be as follow:
>
> when a user from outside type a url like: http://xxx.extdomain.com/a the
> proxy should be able to redirect to: http.//server1.domain.local
>
> and when is typed: http://xxx.extdomain.com/b the proxy shuld redirect to :
> http.//server2.domain.local
>
> this in order to be able to have only one ISP dns record and let squid to do
> the rest.
>
> I've tried using redirector but with no luck....
>

No redirector is required.
Take a look at urlpath_regex ACL.

-- 
Tech support agency in China
http://duxieweb.com/
Received on Thu May 13 2010 - 15:29:47 MDT

This archive was generated by hypermail 2.2.0 : Fri May 14 2010 - 12:00:06 MDT