别人SQUID下CACHEMGR遇到的问题,可以参考我的SQUID的做法解决
2009-10-26 17:46
369 查看
squid2.5stb10已大log定制補丁,速度很快,就是cachemgr.cgi 登陸後(選擇主機後,輸入密碼,空用戶名,用戶不知在哪裡設), 正常出現Cache Manager menu 管理菜單:
Memory Utilization
Callback Data Registry Contents
Event Queue
。。。。
但點進上面的連接,卻執行錯誤:
------------------------------------------------------------------------------
是否acl有問題,請高手指點。。。
附squid.conf,和cachemgr.conf
cachemgr.conf文件內容
Memory Utilization
Callback Data Registry Contents
Event Queue
。。。。
但點進上面的連接,卻執行錯誤:
ERROR Cache Manager Access Denied -------------------------------------------------------------------------------- While trying to retrieve the URL: cache_object://61.168.0.11/mem The following error was encountered: Cache Manager Access Denied. Sorry, you are not currently allowed to request: cache_object://61.168.0.11/memfrom this cache manager until you have authenticated yourself.
------------------------------------------------------------------------------
是否acl有問題,請高手指點。。。
附squid.conf,和cachemgr.conf
### icp_port 0 ### strip_query_terms off logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" access_log /var/log/squid/access.log combined cache_log /var/log/squid/cache.log pid_filename /var/run/squid.pid # visible name visible_hostname cache.www.com cache_mgr cache@www.com # cache config: space use 1G and memory use 256M cache_dir ufs /data/scsi/cache/squid1 4096 16 256 cache_dir ufs /data/sata/cache/squid1 4096 16 256 cache_dir ufs /data/sata/cache/squid2 4096 16 256 cache_swap_high 90% cache_swap_low 80% maximum_object_size 1024 KB cache_mem 384 MB cache_effective_user nobody cache_effective_group nobody http_port 61.168.0.11:80 httpd_accel_host 127.0.0.1 httpd_accel_single_host on httpd_accel_port 80 httpd_accel_uses_host_header on httpd_accel_with_proxy on # accelerater my domain only acl acceleratedHostA dstdomain .xxx.com # accelerater http protocol on port 80 acl acceleratedProtocol protocol HTTP acl acceleratedPort port 80 # access arc acl all src 0.0.0.0/0.0.0.0 # Allow requests when they are to the accelerated machine AND to the # right port with right protocol http_access allow acceleratedProtocol acceleratedPort acceleratedHostA # logging emulate_httpd_log on cache_store_log none # manager acl manager proto cache_object http_access allow manager all cachemgr_passwd 123456 all dns_children 20 redirect_children 20 # #refresh_pattern -i . 60 90% 129600 reload-into-ims #refresh_pattern -i .html 60 90% 129600 reload-into-ims #refresh_pattern -i .shtml 60 90% 129600 reload-into-ims refresh_pattern -i .swf 1440 90% 129600 reload-into-ims
cachemgr.conf文件內容
61.168.0.11:80本文出自 “云计算与大数据_jxwpx” 博客,请务必保留此出处http://jxwpx.blog.51cto.com/15242/216978
相关文章推荐
- VMWARE 下安装 OSX 遇到的问题,可以参考下我的解决办法
- 遇到棘手的程序问题,可以解决问题的参考网站
- 遇到汇编的问题可以参考汇编的文档,应该大多数问题都能解决。
- leetcode中遇到的回朔算法可以解决的问题
- radio 与 文字 齐平 (开发时遇到这个问题,参考网友给的解决方案解决了问题)
- 关于“任何软件工程遇到的问题都可以通过增加一个中间层来解决”的明悟
- 在IE6,7中遇到未知的问题无法解决时可以尝试触发其layout
- 遇到问题快速解决才是王道,查找问题的原因可以后续做
- 公司系统遇到的问题,虽然解决了,但是,不知道原因。贴下图片,供下次参考
- python 安装包 如果遇到问题可以参考下面的网址下载whl文件安装
- C++中遇到同名函数问题,可以使用命名空间解决
- 【USACO】clocks 遇到各种问题 最后还是参考别人的思路
- 练习webpack遇到的一些问题以及解决办法,供自己以后参考
- 一个不能进入系统的小问题——供远程为别人解决问题时参考。
- 虚拟IP实验,遇到场景启用使用虚拟IP就报错,不启用可以正常运行的问题,解决方法
- C# WinForm程序完全退出的问题解决,需要的朋友可以参考一下
- 配置Squid遇到的问题和解决方法
- button设置可以变换的背景及其容易遇到的问题解决方法
- 参考网友微信打飞机demo实现炸弹图标和数量更新时遇到的问题解决心得
- 使用10.04过程中遇到了很多中文问题,都解决了,汇总下来供大家参考