Thanks for your advice guys. I've got it working now.
To summarise (in the hope that others may benefit):
As I'm using domain based virtual hosts (i.e multiple domains under a single
IP address, offloading dynamic requests to Apache) rather than IP based
virtual hosts (an IP address for each domain), then I don't need the
httpd_accel_host virtual on, but rather I should set
httpd_accel_uses_host_header on directive. The other part of the jigsaw was
to use httpd_accel_single_host on.
Perhaps it's because I'm being particularly thick, but because I had
configured Apache as a virtual host (single IP address), I thought the
Squid "virtual host" parameter was related to that, and should be set..
Could the docs be improved to make this more clear ?
So the configuration which works for me now is:
(httpd.conf)
BindAddress 127.0.0.1
Port 80
(squid.conf)
http_port 80
httpd_accel_host 127.0.0.1
httpd_accel_port 80
httpd_accel_single_host on
httpd_accel_uses_host_header on
The great thing about this configuration is that no redirector needs to be
written, no funky port 81 or 8080 need to be used.
Received on Tue Jun 25 2002 - 14:18:32 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:48 MST