Dear Friends,
I am still not able to use squid. I have installed RH6.2 with squid. when i
browse my local site lynx www.mydomain.com - it does not make any entry in
access.log but I am able to see the page and when i give lynx
www.mydomain.com:8080 it makes an entry in the access.log and I am also to
view the page, but when I type lynx www.yahoo.com:8080, i get the following
message
Making HTTP connect to www.yahoo.com 8080.
All these I check on the console.
My conf file are give below, Please revert back as to where I am making the
mistake.
regards
Ranjit
RC.FIREWALL
ipchains -A input -p TCP -d 127.0.0.1/32 80 -j ACCEPT
ipchains -A input -p TCP -d 10.0.0.1/32 80 -j ACCEPT
ipchains -A input -p TCP -d 0/0 80 -j REDIRECT 8080
SQUID.CONF
http_port 8080
icp_port 3130
cache_access_log /var/log/squid/access.log
log_fqdn on
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow all
icp_access allow all
miss_access allow all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
ACCESS.LOG
985975474.112 1 mydomain.com TCP_DENIED/403 995 GET
http://www.mydomain.com/ - NONE/- -
985975789.913 33 mydomain.com TCP_HIT/200 2820 GET
http://www.mydomain.com/ - NONE/- text/html
985975990.427 20 mydomain.com TCP_HIT/200 2820 GET
http://www.mydomain.com/ - NONE/- text/html
985976010.243 1 mydomain.com TCP_HIT/200 2820 GET
http://www.mydomain.com/ - NONE/- text/html
985976013.567 60 mydomain.com TCP_MISS/200 2701 GET
http://www.mydomain.com/manual/index.html - DIRECT/www.mydomain.com
text/html
985976019.237 46 mydomain.com TCP_MISS/200 14043 GET
http://www.mydomain.com/manual/upgrading_to_1_3.html -
DIRECT/www.mydomain.com text/html
985976027.665 72 mydomain.com TCP_MISS/200 31210 GET
http://www.mydomain.com/manual/mod/mod_autoindex.html -
DIRECT/www.mydomain.com text/html
----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help