<div dir="ltr">[support@ISN-PHC-Cache bin]$ ./squidclient -j isn-phc-cache:3128 cache_object://isn-phc-cache:3128/info<br>HTTP/1.1 403 Forbidden<br>Server: squid/3.5.2<br>Mime-Version: 1.0<br>Date: Fri, 20 Mar 2015 19:46:58 GMT<br>Content-Type: text/html;charset=utf-8<br>Content-Length: 3568<br>X-Squid-Error: ERR_ACCESS_DENIED 0<br>Vary: Accept-Language<br>Content-Language: en<br>X-Cache: MISS from isn-phc-cache<br>Via: 1.1 isn-phc-cache (squid/3.5.2)<br>Connection: close<br><br><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "<a href="http://www.w3.org/TR/html4/strict.dtd">http://www.w3.org/TR/html4/strict.dtd</a>"><br><html><head><br><meta type="copyright" content="Copyright (C) 1996-2015 The Squid Software Foundation and contributors"><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br><title>ERROR: The requested URL could not be retrieved</title><br><style type="text/css"><!--<br> /*<br> * Copyright (C) 1996-2015 The Squid Software Foundation and contributors<br> *<br> * Squid software is distributed under GPLv2+ license and includes<br> * contributions from numerous individuals and organizations.<br> * Please see the COPYING and CONTRIBUTORS files for details.<br> */<br><br>/*<br> Stylesheet for Squid Error pages<br> Adapted from design by Free CSS Templates<br> <a href="http://www.freecsstemplates.org">http://www.freecsstemplates.org</a><br> Released for free under a Creative Commons Attribution 2.5 License<br>*/<br><br>/* Page basics */<br>* {<br>    font-family: verdana, sans-serif;<br>}<br><br>html body {<br>    margin: 0;<br>    padding: 0;<br>    background: #efefef;<br>    font-size: 12px;<br>    color: #1e1e1e;<br>}<br><br>/* Page displayed title area */<br>#titles {<br>    margin-left: 15px;<br>    padding: 10px;<br>    padding-left: 100px;<br>    background: url('<a href="http://www.squid-cache.org/Artwork/SN.png">http://www.squid-cache.org/Artwork/SN.png</a>') no-repeat left;<br>}<br><br>/* initial title */<br>#titles h1 {<br>    color: #000000;<br>}<br>#titles h2 {<br>    color: #000000;<br>}<br><br>/* special event: FTP success page titles */<br>#titles ftpsuccess {<br>    background-color:#00ff00;<br>    width:100%;<br>}<br><br>/* Page displayed body content area */<br>#content {<br>    padding: 10px;<br>    background: #ffffff;<br>}<br><br>/* General text */<br>p {<br>}<br><br>/* error brief description */<br>#error p {<br>}<br><br>/* some data which may have caused the problem */<br>#data {<br>}<br><br>/* the error message received from the system or other software */<br>#sysmsg {<br>}<br><br>pre {<br>    font-family:sans-serif;<br>}<br><br>/* special event: FTP / Gopher directory listing */<br>#dirmsg {<br>    font-family: courier;<br>    color: black;<br>    font-size: 10pt;<br>}<br>#dirlisting {<br>    margin-left: 2%;<br>    margin-right: 2%;<br>}<br>#dirlisting tr.entry td.icon,td.filename,td.size,td.date {<br>    border-bottom: groove;<br>}<br>#dirlisting td.size {<br>    width: 50px;<br>    text-align: right;<br>    padding-right: 5px;<br>}<br><br>/* horizontal lines */<br>hr {<br>    margin: 0;<br>}<br><br>/* page displayed footer area */<br>#footer {<br>    font-size: 9px;<br>    padding-left: 10px;<br>}<br><br><br>body<br>:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }<br>:lang(he) { direction: rtl; }<br> --></style><br></head><body id=ERR_ACCESS_DENIED><br><div id="titles"><br><h1>ERROR</h1><br><h2>The requested URL could not be retrieved</h2><br></div><br><hr><br><br><div id="content"><br><p>The following error was encountered while trying to retrieve the URL: <a href="cache_object://isn-phc-cache/info">cache_object://isn-phc-cache/info</a></p><br><br><blockquote id="error"><br><p><b>Access Denied.</b></p><br></blockquote><br><br><p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p><br><br><p>Your cache administrator is <a href="mailto:<a href="mailto:webmaster">webmaster</a>?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20isn-phc-cache%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Fri,%2020%20Mar%202015%2019%3A46%3A58%20GMT%0D%0A%0D%0AClientIP%3A%2010.0.0.24%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2Finfo%20HTTP%2F1.0%0AHost%3A%20isn-phc-cache%3A3128%0D%0AUser-Agent%3A%20squidclient%2F3.5.2%0D%0AAccept%3A%20*%2F*%0D%0AConnection%3A%20close%0D%0A%0D%0A%0D%0A">webmaster</a>.</p><br><br><br></div><br><br><hr><br><div id="footer"><br><p>Generated Fri, 20 Mar 2015 19:46:58 GMT by isn-phc-cache (squid/3.5.2)</p><br><!-- ERR_ACCESS_DENIED --><br></div><br></body></html><br><br>==================================<br><br>[support@ISN-PHC-Cache bin]$ ./squidclient -j isn-phc-cache:3128 <a href="http://isn-phc-cache:3128/squid-internal-mgr/info">http://isn-phc-cache:3128/squid-internal-mgr/info</a><br>HTTP/1.1 403 Forbidden<br>Server: squid/3.5.2<br>Mime-Version: 1.0<br>Date: Fri, 20 Mar 2015 19:47:44 GMT<br>Content-Type: text/html;charset=utf-8<br>Content-Length: 3621<br>X-Squid-Error: ERR_ACCESS_DENIED 0<br>Vary: Accept-Language<br>Content-Language: en<br>X-Cache: MISS from isn-phc-cache<br>Via: 1.1 isn-phc-cache (squid/3.5.2)<br>Connection: close<br><br><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "<a href="http://www.w3.org/TR/html4/strict.dtd">http://www.w3.org/TR/html4/strict.dtd</a>"><br><html><head><br><meta type="copyright" content="Copyright (C) 1996-2015 The Squid Software Foundation and contributors"><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br><title>ERROR: The requested URL could not be retrieved</title><br><style type="text/css"><!--<br> /*<br> * Copyright (C) 1996-2015 The Squid Software Foundation and contributors<br> *<br> * Squid software is distributed under GPLv2+ license and includes<br> * contributions from numerous individuals and organizations.<br> * Please see the COPYING and CONTRIBUTORS files for details.<br> */<br><br>/*<br> Stylesheet for Squid Error pages<br> Adapted from design by Free CSS Templates<br> <a href="http://www.freecsstemplates.org">http://www.freecsstemplates.org</a><br> Released for free under a Creative Commons Attribution 2.5 License<br>*/<br><br>/* Page basics */<br>* {<br>    font-family: verdana, sans-serif;<br>}<br><br>html body {<br>    margin: 0;<br>    padding: 0;<br>    background: #efefef;<br>    font-size: 12px;<br>    color: #1e1e1e;<br>}<br><br>/* Page displayed title area */<br>#titles {<br>    margin-left: 15px;<br>    padding: 10px;<br>    padding-left: 100px;<br>    background: url('<a href="http://www.squid-cache.org/Artwork/SN.png">http://www.squid-cache.org/Artwork/SN.png</a>') no-repeat left;<br>}<br><br>/* initial title */<br>#titles h1 {<br>    color: #000000;<br>}<br>#titles h2 {<br>    color: #000000;<br>}<br><br>/* special event: FTP success page titles */<br>#titles ftpsuccess {<br>    background-color:#00ff00;<br>    width:100%;<br>}<br><br>/* Page displayed body content area */<br>#content {<br>    padding: 10px;<br>    background: #ffffff;<br>}<br><br>/* General text */<br>p {<br>}<br><br>/* error brief description */<br>#error p {<br>}<br><br>/* some data which may have caused the problem */<br>#data {<br>}<br><br>/* the error message received from the system or other software */<br>#sysmsg {<br>}<br><br>pre {<br>    font-family:sans-serif;<br>}<br><br>/* special event: FTP / Gopher directory listing */<br>#dirmsg {<br>    font-family: courier;<br>    color: black;<br>    font-size: 10pt;<br>}<br>#dirlisting {<br>    margin-left: 2%;<br>    margin-right: 2%;<br>}<br>#dirlisting tr.entry td.icon,td.filename,td.size,td.date {<br>    border-bottom: groove;<br>}<br>#dirlisting td.size {<br>    width: 50px;<br>    text-align: right;<br>    padding-right: 5px;<br>}<br><br>/* horizontal lines */<br>hr {<br>    margin: 0;<br>}<br><br>/* page displayed footer area */<br>#footer {<br>    font-size: 9px;<br>    padding-left: 10px;<br>}<br><br><br>body<br>:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }<br>:lang(he) { direction: rtl; }<br> --></style><br></head><body id=ERR_ACCESS_DENIED><br><div id="titles"><br><h1>ERROR</h1><br><h2>The requested URL could not be retrieved</h2><br></div><br><hr><br><br><div id="content"><br><p>The following error was encountered while trying to retrieve the URL: <a href="<a href="http://isn-phc-cache:3128/squid-internal-mgr/info">http://isn-phc-cache:3128/squid-internal-mgr/info</a>"><a href="http://isn-phc-cache:3128/squid-internal-mgr/info">http://isn-phc-cache:3128/squid-internal-mgr/info</a></a></p><br><br><blockquote id="error"><br><p><b>Access Denied.</b></p><br></blockquote><br><br><p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p><br><br><p>Your cache administrator is <a href="mailto:<a href="mailto:webmaster">webmaster</a>?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20isn-phc-cache%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Fri,%2020%20Mar%202015%2019%3A47%3A44%20GMT%0D%0A%0D%0AClientIP%3A%2010.0.0.24%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2Fsquid-internal-mgr%2Finfo%20HTTP%2F1.0%0AHost%3A%20isn-phc-cache%3A3128%0D%0AUser-Agent%3A%20squidclient%2F3.5.2%0D%0AAccept%3A%20*%2F*%0D%0AConnection%3A%20close%0D%0A%0D%0A%0D%0A">webmaster</a>.</p><br><br><br></div><br><br><hr><br><div id="footer"><br><p>Generated Fri, 20 Mar 2015 19:47:44 GMT by isn-phc-cache (squid/3.5.2)</p><br><!-- ERR_ACCESS_DENIED --><br></div><br></body></html><br><br><br><br>=====================================<br><br>[support@ISN-PHC-Cache bin]$ ./squidclient -j isn-phc-cache:3128 <a href="http://isn-phc-cache/squid-internal-mgr/info">http://isn-phc-cache/squid-internal-mgr/info</a><br>HTTP/1.1 403 Forbidden<br>Server: squid/3.5.2<br>Mime-Version: 1.0<br>Date: Fri, 20 Mar 2015 19:48:05 GMT<br>Content-Type: text/html;charset=utf-8<br>Content-Length: 3611<br>X-Squid-Error: ERR_ACCESS_DENIED 0<br>Vary: Accept-Language<br>Content-Language: en<br>X-Cache: MISS from isn-phc-cache<br>Via: 1.1 isn-phc-cache (squid/3.5.2)<br>Connection: close<br><br><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "<a href="http://www.w3.org/TR/html4/strict.dtd">http://www.w3.org/TR/html4/strict.dtd</a>"><br><html><head><br><meta type="copyright" content="Copyright (C) 1996-2015 The Squid Software Foundation and contributors"><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br><title>ERROR: The requested URL could not be retrieved</title><br><style type="text/css"><!--<br> /*<br> * Copyright (C) 1996-2015 The Squid Software Foundation and contributors<br> *<br> * Squid software is distributed under GPLv2+ license and includes<br> * contributions from numerous individuals and organizations.<br> * Please see the COPYING and CONTRIBUTORS files for details.<br> */<br><br>/*<br> Stylesheet for Squid Error pages<br> Adapted from design by Free CSS Templates<br> <a href="http://www.freecsstemplates.org">http://www.freecsstemplates.org</a><br> Released for free under a Creative Commons Attribution 2.5 License<br>*/<br><br>/* Page basics */<br>* {<br>    font-family: verdana, sans-serif;<br>}<br><br>html body {<br>    margin: 0;<br>    padding: 0;<br>    background: #efefef;<br>    font-size: 12px;<br>    color: #1e1e1e;<br>}<br><br>/* Page displayed title area */<br>#titles {<br>    margin-left: 15px;<br>    padding: 10px;<br>    padding-left: 100px;<br>    background: url('<a href="http://www.squid-cache.org/Artwork/SN.png">http://www.squid-cache.org/Artwork/SN.png</a>') no-repeat left;<br>}<br><br>/* initial title */<br>#titles h1 {<br>    color: #000000;<br>}<br>#titles h2 {<br>    color: #000000;<br>}<br><br>/* special event: FTP success page titles */<br>#titles ftpsuccess {<br>    background-color:#00ff00;<br>    width:100%;<br>}<br><br>/* Page displayed body content area */<br>#content {<br>    padding: 10px;<br>    background: #ffffff;<br>}<br><br>/* General text */<br>p {<br>}<br><br>/* error brief description */<br>#error p {<br>}<br><br>/* some data which may have caused the problem */<br>#data {<br>}<br><br>/* the error message received from the system or other software */<br>#sysmsg {<br>}<br><br>pre {<br>    font-family:sans-serif;<br>}<br><br>/* special event: FTP / Gopher directory listing */<br>#dirmsg {<br>    font-family: courier;<br>    color: black;<br>    font-size: 10pt;<br>}<br>#dirlisting {<br>    margin-left: 2%;<br>    margin-right: 2%;<br>}<br>#dirlisting tr.entry td.icon,td.filename,td.size,td.date {<br>    border-bottom: groove;<br>}<br>#dirlisting td.size {<br>    width: 50px;<br>    text-align: right;<br>    padding-right: 5px;<br>}<br><br>/* horizontal lines */<br>hr {<br>    margin: 0;<br>}<br><br>/* page displayed footer area */<br>#footer {<br>    font-size: 9px;<br>    padding-left: 10px;<br>}<br><br><br>body<br>:lang(fa) { direction: rtl; font-size: 100%; font-family: Tahoma, Roya, sans-serif; float: right; }<br>:lang(he) { direction: rtl; }<br> --></style><br></head><body id=ERR_ACCESS_DENIED><br><div id="titles"><br><h1>ERROR</h1><br><h2>The requested URL could not be retrieved</h2><br></div><br><hr><br><br><div id="content"><br><p>The following error was encountered while trying to retrieve the URL: <a href="<a href="http://isn-phc-cache/squid-internal-mgr/info">http://isn-phc-cache/squid-internal-mgr/info</a>"><a href="http://isn-phc-cache/squid-internal-mgr/info">http://isn-phc-cache/squid-internal-mgr/info</a></a></p><br><br><blockquote id="error"><br><p><b>Access Denied.</b></p><br></blockquote><br><br><p>Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.</p><br><br><p>Your cache administrator is <a href="mailto:<a href="mailto:webmaster">webmaster</a>?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20isn-phc-cache%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Fri,%2020%20Mar%202015%2019%3A48%3A05%20GMT%0D%0A%0D%0AClientIP%3A%2010.0.0.24%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2Fsquid-internal-mgr%2Finfo%20HTTP%2F1.0%0AHost%3A%20isn-phc-cache%3A3128%0D%0AUser-Agent%3A%20squidclient%2F3.5.2%0D%0AAccept%3A%20*%2F*%0D%0AConnection%3A%20close%0D%0A%0D%0A%0D%0A">webmaster</a>.</p><br><br><br></div><br><br><hr><br><div id="footer"><br><p>Generated Fri, 20 Mar 2015 19:48:05 GMT by isn-phc-cache (squid/3.5.2)</p><br><!-- ERR_ACCESS_DENIED --><br></div><br></body></html><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 20, 2015 at 2:25 PM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21/03/2015 6:15 a.m., Monah Baki wrote:<br>
> Regarding DNS lookup, if I type nslookup 10.0.0.24 or nslookup<br>
> isn-phc-cache,<br>
> Our nameservers in /etc/resolv.conf are google's name server<br>
><br>
> Do I need to resolve first to use squidclient???<br>
><br>
<br>
</span>No, the squidclient resolving is done as you saw in its output and gets<br>
the right IPv4-only and 127.0.0.1.<br>
<br>
The problem will appear later when you view error messages or directory<br>
listings generated by Squid. All the icons and generated URLs will be<br>
using that "isn-phc-cache" as their domain.<br>
<br>
<br>
I'm not exactly sure what the problem is. Your config is pretty much<br>
default and I dont hit this on my test proxies.<br>
<br>
Please try these (mind the wrap):<br>
<br>
 squidclient -j isn-phc-cache:3128 cache_object://isn-phc-cache:3128/info<br>
<br>
 squidclient -j isn-phc-cache:3128<br>
<a href="http://isn-phc-cache:3128/squid-internal-mgr/info" target="_blank">http://isn-phc-cache:3128/squid-internal-mgr/info</a><br>
<br>
 squidclient -j isn-phc-cache:3128<br>
<a href="http://isn-phc-cache/squid-internal-mgr/info" target="_blank">http://isn-phc-cache/squid-internal-mgr/info</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Amos<br>
<br>
</font></span></blockquote></div><br></div>