Advertisement
Guest User

Untitled

a guest
Mar 19th, 2012
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. http_port 192.168.1.175:80 vhost
  2. cache_peer localhost parent 80 0 originserver login=PASS
  3. #hierarchy_stoplist cgi-bin ?
  4. #acl QUERY urlpath_regex cgi-bin \?
  5. #no_cache deny QUERY
  6. cache_mem 1024 MB
  7. maximum_object_size 1024 KB
  8. maximum_object_size_in_memory 512 KB
  9. cache_dir ufs /var/spool/squid 2048 16 256
  10. emulate_httpd_log on
  11. logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
  12. cache_access_log /var/log/squid/access.log combined
  13. debug_options ALL,1
  14. request_body_max_size 20480 KB
  15. refresh_pattern ^ftp: 1440 20% 10080
  16. refresh_pattern ^gopher: 1440 0% 1440
  17. refresh_pattern . 10 20% 4320 override-lastmod
  18. negative_ttl 0
  19. acl all src 0.0.0.0/0.0.0.0
  20. acl localhost dst 192.168.1.175/32 127.0.0.1/32
  21. acl Safe_ports port 80 # http
  22. acl apacheserverport port 80
  23. http_access allow localhost Safe_ports
  24. http_access allow all apacheserverport
  25. http_access deny all
  26. # http_reply_access allow localhost Safe_ports
  27. # http_reply_access deny all
  28. # http_reply_access allow all
  29. icp_access deny all
  30. ident_lookup_access deny all
  31. cachemgr_passwd disable all
  32. coredump_dir /var/spool/squid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement