0 Members and 1 Guest are viewing this topic.
Quote from: Spacedust on 2016-06-11, 13:25:31Should I create a special config for lstat ?Yes. Try explore cgi.conf and stats_awstats.conf.
Should I create a special config for lstat ?
#Include for LinuxStat (http://lstat.sf.net)AddHandler cgi-script .cgiAlias "/lstat/" "/usr/local/lstat/www/"<Directory "/usr/local/lstat/www/">AllowOverride NoneOptions +ExecCGIRequire all grantedAllow from all
Awstats running well if protected directery set to disable. So, investigate stats_awstats.conf inside /opt/configs/nginx/conf/globals.
Use custom.stats_awstats.conf as your lstart config.
location /lstat/ { alias /usr/local/lstat/www/; location ~ /www\.cgi$ { gzip off; try_files $uri =404; fastcgi_pass unix:/tmp/fcgiwrap.sock; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/local/lstat/www/lstat.cgi; fastcgi_ignore_client_abort off; }
Page created in 0.036 seconds with 17 queries.