Search squid archive

Re: How do I redirect a URl like this?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
> Subject:  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 Keshava

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux