[squid-users] problem with a website

From: Isaac Witmer <isaaclw_at_gmail.com>
Date: Wed, 26 May 2010 13:33:12 +0300

I'm getting an error when I attempt to view the website:
http://cpanel.byethost.com/index.php

ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://cpanel.byethost.com/index.php
The following error was encountered:
Access Denied.
Access control configuration prevents your request from being allowed
at this time. Please contact your service provider if you feel this is
incorrect.
Your cache administrator is webmaster.
Generated Wed, 26 May 2010 09:12:53 GMT by localhost (squid/3.0.STABLE8)

I've gone through the config, but I can't figure out what's wrong.
This is the first and only website that I have problems. If I dodge
the cache, then I don't have any problem with the website, and this
page doesn't show up (ie: it _is_ the local cache).
It's also interesting that this page doesn't show the address I have
in the config (though the other pages have).

authenticate_ip_ttl 2 hours
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.42.43.0/255.255.255.0 # RFC1918 possible internal network
acl debian_index urlpath_regex
(Index|Packages\.gz|Packages\.bz2|Packages|Release|Release\.gpg|Sources\.gz|Sources\.bz2|Sources|Contents-.+\.gz|pkglist.*\.bz2|release|release\..*|srclist.*\.bz2|Translation-.+\.bz2)$
acl debian_package urlpath_regex
(\.deb|\.rpm|\.dsc|\.tar\.gz|\.tar\.bz2|\.diff\.gz|\.udeb|index\.db-.+\.gz|\.jigdo|\.template)$
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl PURGE method PURGE
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost PURGE
http_access deny PURGE all
http_access allow localnet
http_access allow localhost
http_access deny all
http_reply_access allow localnet
http_reply_access allow localhost
http_reply_access deny all
icp_access allow localnet
icp_access allow localhost
icp_access deny all
htcp_access allow localnet
htcp_access allow localhost
htcp_access deny all
htcp_clr_access allow localnet
htcp_clr_access allow localhost
htcp_clr_access deny all
http_port 3128 transparent
cache_peer localhost parent 3142 0 no-query proxy-only name=apt
cache_peer_access apt allow debian_index
cache_peer_access apt allow debian_package
cache_peer_access apt deny all
hierarchy_stoplist cgi-bin ?
maximum_object_size_in_memory 16 KB
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
cache_dir ufs /var/spool/squid3 200000 16 256
maximum_object_size 32768 KB
access_log /var/log/squid3/access.log squid
debug_options ALL,1
ftp_user admin_at_amanikenya.com
url_rewrite_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
url_rewrite_children 5
url_rewrite_access deny debian_index
url_rewrite_access deny debian_package
url_rewrite_access allow all
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern (cgi-bin|\?) 0 0% 0
refresh_pattern . 0 20% 4320
cache_mgr admin_at_amanikenya.com
mail_from noreply_at_amanikenya.com
icp_port 3130
never_direct allow debian_index
never_direct allow debian_package
coredump_dir /var/spool/squid3

Error Page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to retrieve the URL:
<A HREF="http://cpanel.byethost.com/index.php">http://cpanel.byethost.com/index.php</A>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Access Denied.
</STRONG>
<P>
Access control configuration prevents your request from
being allowed at this time. Please contact your service provider if
you feel this is incorrect.
</UL>
<P>Your cache administrator is <A
HREF="mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20localhost%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Wed,%2026%20May%202010%2009%3A12%3A53%20GMT%0D%0A%0D%0AClientIP%3A%2041.223.57.82%0D%0AServerIP%3A%20%0D%0A%0D%0AHTTP%20Request%3A%0D%0AGET%20%2Findex.php%20HTTP%2F1.0%0AHost%3A%20cpanel.byethost.com%0D%0AUser-Agent%3A%20Mozilla%2F5.0%20(X11%3B%20U%3B%20Linux%20i686%3B%20en-US)%20AppleWebKit%2F533.4%20(KHTML,%20like%20Gecko)%20Chrome%2F5.0.375.38%20Safari%2F533.4%0D%0AAccept%3A%20application%2Fxml,application%2Fxhtml+xml,text%2Fhtml%3Bq%3D0.9,text%2Fplain%3Bq%3D0.8,image%2Fpng,*%2F*%3Bq%3D0.5%0D%0AAccept-Encoding%3A%20gzip,deflate,sdch%0D%0AAccept-Language%3A%20en-US,en%3Bq%3D0.8%0D%0AAccept-Charset%3A%20ISO-8859-1,utf-8%3Bq%3D0.7,*%3Bq%3D0.3%0D%0ACookie%3A%20ym_pop_freq_expiration204717%3DWed,%2026%20May%202010%2012%3A58%3A07%20GMT%3B%20ym_pop_freq204717%3D1%3B%20__utmz%3D152028074.1274793633.2.2.utmcsr%3Dgoogle%7Cutmccn%3D(organic)%7Cutmcmd%3Dorganic%7Cutmctr%3Dis%2520premium%2520hosting%2520faster%2520then%2520free%2520hosting%2520byethost%3B%20__utma%3D152028074.674416246.1274790924.1274790924.1274793633.2%3B%20__utmc%3D152028074%3B%20PHPSESSID%3DpJFDN5yJyY7-8otnbDkPSVwaauxy9v82aY8konl5EQ-MxvmqRLhYq4UH8FIqFkCh%0D%0AVia%3A%201.1%20localhost%20(squid%2F3.0.STABLE8)%0D%0AX-Forwarded-For%3A%20127.0.0.1%0D%0ACache-Control%3A%20max-age%3D259200%0D%0AConnection%3A%20keep-alive%0D%0A%0D%0A%0D%0A">webmaster</A>.
<br>
<hr>
<div id="footer">
Generated Wed, 26 May 2010 09:12:53 GMT by localhost (squid/3.0.STABLE8)
</div>
</body></html>
Received on Wed May 26 2010 - 10:33:39 MDT

This archive was generated by hypermail 2.2.0 : Wed May 26 2010 - 12:00:07 MDT