Search squid archive

Re: What http headers required for squid to work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, 

I have gone through refrences you provided and following that I have updated
squid version too but still no luck. now even I have made squid and
originserver port to be same. 

Here is my full squid.conf 

http_port 80 accel defaultsite=xxx.xx.xxx.118
cache_peer xxx.xx.xxx.118 parent 80 0 no-query originserver name=myAccel
acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 10.0.0.0/8     # RFC1918 possible internal network
acl localnet src 172.16.0.0/12  # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
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 our_sites dst xxx.xx.xxx.118
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all
icp_access allow localnet
icp_access deny all
htcp_access allow localnet
htcp_access deny all
http_port 3128
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp:                   1440    20%     10080
refresh_pattern ^gopher:                1440    0%      1440
refresh_pattern -i (/cgi-bin/|\?)       0       0%      0
refresh_pattern .                       0       20%     4320
icp_port 3130
coredump_dir /var/spool/squid

Here is my HTTP Respnse Header

Status=OK - 200
Content-Type=application/json
Cache-Control=max-age=6000
Server=Jetty(6.1.25)
X-Cache=MISS from cache001.com
X-Cache-Lookup=MISS from cache001.com:80
Via=1.0 cache001.com (squid/3.0.STABLE25), 1.0 localhost.localdomain
Date=Wed, 19 Jan 2011 14:19:36 GMT
Content-Length=132
Age=0

Please guide me.

Thanks 





 

-- 
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/What-http-headers-required-for-squid-to-work-tp3223434p3225415.html
Sent from the Squid - Users mailing list archive at Nabble.com.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux