The NZ Linux Resource

[AuckLUG] Help with Squid (As a transparent proxy) and Debian...

Chris Hodgetts chris at archnetnz.com
Mon Jul 17 20:48:16 NZST 2006


> > httpd_accel_host virtual
> > httpd_accel_port 80
> > httpd_accel_with_proxy on
> > httpd_accel_uses_host_header on
> 
> Those are the correct settings, which I am using for my transparent
> 2.5.10 squid on at least one site; a quick check of the 2.6
> configuration file shows they are still good there...
> 
> Can you post the specific error messages, perhaps, which might help
> understand what the problem is -- because those lines /are/ valid in the
> default Debian/stable squid system. :)

With those lines in I get this:

caitlin:/etc/squid# /etc/init.d/squid restart
Restarting Squid HTTP proxy: squid2006/07/17 20:45:53| parseConfigFile:
line 2533 unrecognized: 'httpd_accel_host v irtual'
2006/07/17 20:45:53| parseConfigFile: line 2534 unrecognized:
'httpd_accel_port 80'
2006/07/17 20:45:53| parseConfigFile: line 2535 unrecognized:
'httpd_accel_with_proxy on'
2006/07/17 20:45:53| parseConfigFile: line 2536 unrecognized:
'httpd_accel_uses_host_header on'
.
caitlin:/etc/squid#


Without those lines, it starts OK.. 
And I can specify my browser to use it as an HTTP proxy and it appears
to work correctly, however I think I need contrack in my kernel, which I
do not have............





More information about the AuckLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz