Re: [squid-users] How do I redirect a URl like this?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Sat, 12 Jan 2008 17:53:12 +1300

Keshava M P wrote:
> 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

No keshava.
cache_peer_access sos allow 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
>>
>
>
>

-- 
Please use Squid 2.6STABLE17 or 3.0STABLE1.
There are serious security advisories out on all earlier releases.
Received on Fri Jan 11 2008 - 21:52:53 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:04 MST