Henrik,
Let's say my internet domain name is testme.com, but my web server is
actually running behind a firewall with internal ip address such as
192.168.2.200.
How do I setup squid so that it would direct http call from tomle.com to
192.168.2.200? Using localhost file?
Henrik Nordstrom wrote:
> On Fri, 15 Oct 2004, Jim Nachlin wrote:
>
>> Thanks for your help. That is clear.
>>
>> So the nameservers for webservername1.com (1.2.3.4) and
>> webservername2.com (1.2.3.5) would point to the external interface of
>> the machine that squid is on? These two webservers would then take
>> local addresses like 192.168.1.4 and 192.168.1.5?
>>
>> Any caveats with this system?
>
>
> I would advice agains using redirectors unless you need to change the
> URL-path after the host name. Most accelerator setups works the best
> if Squid can forward the URL as-is to the backend web server,
> preserving the requested host name.
>
> You can make Squid find the correct server by either
>
> * Local host file
> * cache_peer directives
> * custom DNS server with other data than the public DNS records
>
> There is also very noticeable performance bottlenecks of using
> redirectors, which alone may be a reason to stay away from them..
>
> Regards
> Henrik
>
-- ---------------------------- Tom Le Phone : (604) 612-6617 Email : tomle@telus.net ---------------------------- ****************************************************************** This electronic communication (email) is intended only for the use of the addressee and may contain information which is privileged and confidential. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please reply to the sender immediately and delete the original and all copies. Thank you. ******************************************************************Received on Fri Oct 15 2004 - 15:42:24 MDT
This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST