configure squid.conf like this:
cache_peer www.some.other.url.com parent 80 0 no-query
originserver name=sos
acl someotherurl dstdomain www.xyz.com
cache_peer_access allow sos someotherurl
cheers!
Keshava
On Jan 9, 2008 11:16 PM, Nick Duda <nduda@vistaprint.com> wrote:
> Actually, to be more exact....
>
> I need to be able to setup squid so that is someone asks for www.xyz.com
> it redirects to www.some.other.url.com , however www.xyz.com and the URL
> it is going to forward to are essentially the same site. Basically
> xyz.com goes to a webserver farm but we want to test only one of the
> servers in the farm but it must maintain the www.xyz.com URL in the
> browser.
>
> I setup squirm, but that just does a redirect, the URL name changes....i
> don't want that.
>
> Thoughts?
>
>
>
>
> -----Original Message-----
> From: Nick Duda
> Sent: Wednesday, January 09, 2008 12:21 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] How do I redirect a URl like this?
>
> Client -> Proxy -> Webserver
>
> I need the client to enter into a webbrowser something like
> www.google.com and have it redirected to another URL inhouse like
> localserver.companyname.net. Can this be done with Squid or will I need
> a redirector add-in , if so which one? I used to use Squidguard but
> don't recall being able to do this.
>
> Any examples would be helpful for this.
>
> - Nick
>
-- M P KeshavaReceived on Fri Jan 11 2008 - 19:44:17 MST
This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST