You need to use
http_port 80
and then make sure squid is started as root, with cache_effective_user
set in the squid.conf to run as something non-root.
A few systems actually run squid itself as a non-root user, and obviously
this means you can't bind to port 80. Check the init script. :)
Adrian
On Wed, Feb 06, 2008, kk CHN wrote:
> Hi squid-users,
>
> I installed squid2.6 from ports, and , squid starting properly on 3128
>
> I want to make squid to listen on port 80 , so I edited http_port 3128
> to http_port 80 , and restarted it , but after changing the ports its
> not running
>
> tail /var/log/messgaes shows that it canot open HTTP PORT , ? any
> hints most welcome
>
>
> my requirement was to handle all the request first by squid , then
> pass it to apache , (cache_peer )
>
> Thanks in advance
> KK
-- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -Received on Tue Feb 05 2008 - 22:57:13 MST
This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:04 MST