<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hey Angus,</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">There are couple times of configuration "definition".</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Some of them cannot overlap since they contain a full instruction.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">When a http_port line is parsed by squid it's a fix setup of configuration argument.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">There are other services and/or servers that updates the configuration argument with every line.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">For specific instructions like "listen on *:3128" in squid there is only one line that can be accepted.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">If the service operator instruct's squid to do something which cannot be done squid will not do that.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Maybe in the future someone will enhance squid to allow "progressive" http_port configuration but I believe it's wrong.</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">All The Bests,</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Eliezer</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">On 2018-10-26 05:06, Angus J. wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hi Amos <br /> <br /> # Squid normally listens to port 3128<br /> http_port 3128<br /> <br /> <br /> http_port 3128 accel vhost defaultsite=oul163.ouhk.edu.hk<br /> <br /> <br /> This two line of squid.conf , they will cause the ERROR" ?<br /> <br /> <br /> <br /> <br /> --<br /> Sent from:<br /> <a href="http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html" target="_blank" rel="noopener noreferrer">http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html</a><br /> _______________________________________________<br /> squid-users mailing list<br /> <a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br /> <a href="http://lists.squid-cache.org/listinfo/squid-users" target="_blank" rel="noopener noreferrer">http://lists.squid-cache.org/listinfo/squid-users</a></blockquote>
<br />
<div>-- <br />
<p>----<br /><a>Eliezer Croitoru</a><br />Linux System Administrator<br />Mobile: +972-5-28704261<br />Email: <a href="mailto:eliezer@ngtech.co.il">eliezer@ngtech.co.il</a></p>
<p><img src="cid:e5d52439ed05577110fedb63ef944d99@ngtech.co.il" /><br /> </p>
</div>
</div>
</body></html>