AWStats - Сервер статистики

Установка

Установка perl-fastcgi

$ apt-get install fcgiwrap

Проверка

$ netstat -an |grep -i perl

Настройка Nginx

# Perl fastcgi
location ~ \.pl$ {
gzip off;
try_files $uri =404;
root /var/www/;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_ignore_client_abort off;
}