I have a basic installation of squid working on Ubuntu 14.04. All I want really is to log requests made. I don't really care for ACL or caching. Perhaps later. I looked at the long squid.conf file which is mostly commented. I "grep"ed the non-commented lines and got a new conf file. Then I just commented out what I thought was not needed and added a few lines that I thought were needed. Here is my conf file without the commented lines:
http_access allow all
http_port 3128
coredump_dir /var/spool/squid3
cache deny all
dns_nameservers 202.148.202.4 202.148.200.3
positive_dns_ttl 72 hours
negative_dns_ttl 30 seconds
The problem I have is that clients of the proxy server have problems with only some sites though mostly it works for other sites.
For example, http://locator.intel.in/find-reseller/
This one is really bizzare... The page displays the error message "Trying to get property of non-object" but through another client which does not using this proxy server or any proxy server, the page is displayed properly.
The entry in the proxy "access.log" file is:
430748230.547 2440 192.168.1.5 TCP_MISS/500 63048 GET http://locator.intel.in/find-reseller/ - HIER_DIRECT/198.175.66.130 text/html
Now the TCP_MISS/500 I presume is that there is a miss... no caching so no hit. Fine. The 500 is the internal http error? How did the proxy initiate an error on the http server? Was it a bad-formed HTTP request initiated by the proxy?
For another link which fails to display the page, http://www.incentre.net/tech-support/other-support/ethernet-cable-color-coding-diagram/, the cache.log entries are, like:
1430749180.834 60659 192.168.1.5 TCP_MISS/503 4111 GET http://www.incentre.net/tech-support/other-support/ethernet-cable-color-coding-diagram/ - HIER_DIRECT/206.75.231.199 text/html
1430749194.846 12853 192.168.1.5 TCP_MISS_ABORTED/000 0 GET http://www.incentre.net/favicon.ico - HIER_DIRECT/206.75.231.199 -
What configuration among the 300+ Squid configuration directives am I missing?