Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Общий по Linux (http://forum.oszone.net/forumdisplay.php?f=9)
-   -   настройка статистки squid+lighttpd+sarg (http://forum.oszone.net/showthread.php?t=225319)

~user~ 15-01-2012 17:37 1836444

настройка статистки squid+lighttpd+sarg
 
и так после настройки squid, надо настроить статистику
для настройки взял эту инструкцию http://interface31.ru/tech_it/2011/0...era-squid.html
При настройки lighttpd в инструкции указывается что нужно найти строку
Код:

server.bind = "10.0.0.1"
и отредактировать ее подставив свой интерфейс, но этой строки нет подскажите что надо сделать?
вот все что есть в lighttpd
Код:

server.modules = (
        "mod_access",
        "mod_alias",
        "mod_compress",
        "mod_redirect",
#      "mod_rewrite",
)

server.document-root        = "/var/www"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog            = "/var/log/lighttpd/error.log"
server.pid-file            = "/var/run/lighttpd.pid"
server.username            = "www-data"
server.groupname            = "www-data"

index-file.names            = ( "index.php", "index.html",
                                "index.htm", "default.htm",
                              " index.lighttpd.html" )
url.access-deny            = ( "~", ".inc" )

static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl"
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl"

dir-listing.encoding        = "utf-8"
server.dir-listing          = "enable"

compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype          = ( "application/x-javascript", "text/css", "text/h$

include_shell "/usr/share/lighttpd/create-mime.assign.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"



Время: 06:12.

Время: 06:12.
© OSzone.net 2001-