Re: [squid-users] httpd-accelerator

From: <>
Date: Fri, 16 Nov 2001 18:22:53 +0530

Hello Affan,

Please look in to the squid.conf file for the following directives for any
changes that may have happened.You can find the squid configuration file in
the default location /usr/local/squid/etc/squid.conf. I am sure the
following directives you set was right. Anyhow verify this.In the
httpd_accel_host or httpd_accel_port, the IP address specified must be the IP
of your application server and port should be the your web application
server port, In case that is changed make the changes here and restart the

http_port: where the squid listens for
the incoming request.
httpd_accel_host: backend server(your application
server IP address)
httpd_accel_port Port in which the application
server runs
httpd_accel_single! _host: If it act as webaccelerator for a
single host set it to on
httpd_accel_uses_host_header Let this one off.

http_port 80
httpd_accel_port 80
httpd_accel_single_host on
httpd_accel_uses_host_header off

And in httpd.conf,
  Assuming you've created Virtualhost , So comment the
default "DocumentRoot" in httpd.conf(apache conf file) and restart apache and verify .


----- Original Message -----
  From: affan
  Sent: Friday, November 16, 2001 4:27 PM
  Subject: [squid-users] httpd-accelerator

  Hi I am trying to configure squid as a accelerator. I have these following lines in my squid.conf the host has virtual hosts.

  httpd_accel_host virtual
  httpd_accel_port 80
  httpd_accel_uses_host_header off
  httpd_accel_single_host on

  Squid is not serving the pages from the correct virtual host and its serving the pages from the first document rood in the apache configuration. I have checked my httpd.conf and its configured properly.

  Can any one please help.

  Thanks and regards


Do You Yahoo!?
Get your free address at

Received on Fri Nov 16 2001 - 05:48:05 MST

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