FreeBSd > Soft

SQSTAT-ошибка

<< < (2/3) > >>

muff:
А где же секция acl manager proto cache_object и строка redirector_access deny localhost ?

Smoke:
acl manager proto cache_object
-611 строка

redirector_access deny localhost
-5044 строка, но я закомментировал, т.к. все равно не работало...

muff:
Да, действительно. Пропустил... Поиск на этот раз меня подвел.

Смотрите в сторону cachemgr_passwd.

Из /usr/local/share/sqstat/config.inc.php:

--- Код: ---/* cachemgr_passwd в squid.conf. Оставить пустым для отключения авторизации */
$cachemgr_passwd[0]="";
--- Конец кода ---

У вас ж в squid.conf: cachemgr_passwd secret all

Так что копайте в этом направлении.

Smoke:
/usr/local/share/sqstat/config.inc.php

--- Код: ---<?php
/* global settings */

$use_js=true; // use javascript for the HTML toolkits

// Maximum URL length to display in URI table column
DEFINE("SQSTAT_SHOWLEN",60);


/* proxy settings */

/* Squid proxy server ip address or host name */
$squidhost[0]="192.168.0.146";
/* Squid proxy server port */
$squidport[0]=3128;
/* cachemgr_passwd in squid.conf. Leave blank to disable authorisation */
$cachemgr_passwd[0]="";
/* Resolve user IP addresses or print them as numbers only [true|false] */
$resolveip[0]=true;
/* uncomment next line if you want to use hosts-like file.
   See hosts.txt.dist. */
// $hosts_file[0]="hosts.txt"
/* Group users by hostname - "host" or by User - "username". Username work only
   with squid 2.6+ */
$group_by[0]="host";

/* you can specify more than one proxy in the configuration file, e.g.: */
// $squidhost[1]="192.168.0.2";
// $squidport[1]=3129;
// $cachemgr_passwd[1]="";
// $resolveip[1]=true;
// $hosts_file[1]="otherhosts.txt"



?>

--- Конец кода ---

в squid.conf

--- Код: ---cachemgr_passwd secret all
--- Конец кода ---

все правильно?


--- Код: ---SqStat error
Error (1): Cannot get data. Server answered: HTTP/1.0 404 Not Found
--- Конец кода ---

слово Not Found меня больше беспокоит. это означает что свосем нету ...

muff:
Попробуйте вообще закомментировать параметр cachemgr_passwd.

Навигация

[0] Главная страница сообщений

[#] Следующая страница

[*] Предыдущая страница

Перейти к полной версии