Re: howto on www-accelerating?

From: Henrik Nordstrom <[email protected]>
Date: Sat, 11 Mar 2000 01:37:12 +0100

Heusden, Folkert van wrote:

> to use subdirectories on the www, and suddenly www.something.nl WORKS, but
> when clients surf to www.something.nl/test
> they get redirected to 192.168.0.245/test ! (which, of course, fails)

Try this:

1. Rebuild your squid with --disable-internal-dns.

2. Change /etc/hosts to list your real webservers IP for
www.something.nl

2b. Modify /etc/nsswitch.conf (if your system have it) to prefer files
over DNS for host lookups.

3. Change squid.conf to
httpd_accel_host www.something.nl

--
Henrik Nordstrom
Squid hacker
Received on Fri Mar 10 2000 - 18:04:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:03 MST