Hey Angus, 

There are couple times of configuration "definition". 
Some of them cannot overlap since they contain a full instruction. 
When a http_port line is parsed by squid it's a fix setup of
configuration argument. 
There are other services and/or servers that updates the configuration
argument with every line. 
For specific instructions like "listen on *:3128" in squid there is only
one line that can be accepted. 
If the service operator instruct's squid to do something which cannot be
done squid will not do that. 
Maybe in the future someone will enhance squid to allow "progressive"
http_port configuration but I believe it's wrong. 

All The Bests, 
Eliezer 

On 2018-10-26 05:06, Angus J. wrote: 

> Hi Amos 
> 
> # Squid normally listens to port 3128
> http_port 3128
> 
> http_port 3128 accel vhost defaultsite=oul163.ouhk.edu.hk
> 
> This two line of squid.conf , they will cause the ERROR" ?
> 
> --
> Sent from:
> http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
> _______________________________________________
> squid-users mailing list
> squid-users@lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-- 
----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: elie...@ngtech.co.il
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to