Re: cachemgr

From
Igor Chumak (2:5020/400)
To
Alex Antonov (2:5054/37.63)
Date
2005-04-06T13:26:08Z
Area
RU.UNIX.BSD
From: "Igor Chumak" <igor@g-auto.pul.kiev.ua>

Hello, Alex!
You wrote to Igor Chumak on Tue, 5 Apr 2005 14:24:55 +0000 (UTC):


 AA> "Igor Chumak" <igor@g-auto.pul.kiev.ua> сообщил/сообщила в новостях
 AA> следующее: news:d2u650$1mc$1@snake.ukrnet.net...

 >> cachemgr_passwd задан в squid.conf?
 AA> нет

Дык?

 >> acl manager proto cache_object - есть что-то подобное?
 AA> Да есть

 AA> но от правила http_access ( пробовал ставить allow manager all, deny
 AA> manager all )
 AA> ничего не меняется


acl manager proto cache_object # это раз
cachemgr_passwd _пароль_ all # это 2

http_access - по вкусу. Напирмер так:
http_access deny manager !admins # пускать только с определённых станций


 AA>>> Поставил squid пытаюсь запустить cachemgr.cgi ( только ради него
 AA>>> поставил apache )
 AA>>> При попытке войти ( после первого запроса Host -  Localhost, port
 AA>>> 3180 )
 AA>>> Выдается

 AA>>> ERROR
 AA>>> The requested URL could not be retrieved

 AA>>> While trying to retrieve the URL: cache_object://localhost/
 AA>>> The following error was encountered:
 AA>>> Access Denied.
 AA>>> Access control configuration prevents your request from being
 AA>>> allowed at this time. Please contact your service provider if you
 AA>>> feel this is incorrect.
 AA>>> Your cache administrator is webmaster.
 AA>>> Generated Tue, 05 Apr 2005 12:20:23 GMT by FreeS2.ois.pspm.ru
 AA>>> (squid/2.5.STABLE9)


 >> cachemgr_passwd задан в squid.conf?
 >> acl manager proto cache_object - есть что-то подобное?



With best regards, Igor Chumak.  E-mail: igor()g-auto.pul.kiev.ua


--- ifmail v.2.15dev5.3
 * Origin: Adamant ISP news server (2:5020/400)
SEEN-BY: 46/50 50/203 520 400/814 450/159 186 247 1024 451/30 461/43 132 640
SEEN-BY: 469/999 550/196 4616/3 4625/8 4627/10 4635/4 4652/15 5000/76 5000
SEEN-BY: 5006/1 5007/1 5010/70 5011/13 5015/10 5019/31 5020/52 118 154 175 194
SEEN-BY: 5020/400 545 549 604 715 758 830 937 1057 1523 1604 1630 1922 2020
SEEN-BY: 5020/2142 2238 2450 2590 4441 5021/29 5022/128 5025/3 750 5026/45
SEEN-BY: 5027/16 5029/32 5030/49 115 473 500 556 966 1063 1900 5031/70 72
SEEN-BY: 5034/13 5035/3 38 5036/1 34 5042/13 5049/1 50 97 5051/15 5054/1 4 8 9
SEEN-BY: 5054/28 35 36 37 63 66 67 70 75 81 84 85 5055/95 5057/1 5060/88
SEEN-BY: 5061/15 5062/1 10 5066/18 5067/2 5069/7 5070/1222 5074/9 5075/5 35
SEEN-BY: 5079/23 5080/80 1003 5081/2 5082/6 5083/21 5085/13 5090/108 5095/20
SEEN-BY: 5096/18 6000/12 254 6001/3
PATH: 5020/400 4441 545 5054/1 37