index.html file isn't being generated
cvItvre opened this issue · 0 comments
cvItvre commented
I followed the squidanalyzer installation guide, but it seems to me that the index file is not being generated in the squidanalyzer directory. when I access the web page, I get an index of. Below I listed some outputs and config files.
apache2.conf file
Alias /squidreport /var/www/squidanalyzer
<Directory /var/www/squidanalyzer>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Directory>
squid logformat
1556884200.702 116 127.0.0.1 NONE/503 0 CONNECT snippets.cdn.mozilla.net:443 - HIER_NONE/- -
/usr/local/bin/squid-analyzer -d
SquidAnalyzer version 6.6
Starting to parse logfile /var/log/squid/access.log.
DEBUG: this file will be parsed, no history found.
Reading file /var/log/squid/access.log from offset 0 to end.
SQUID LOG SET START TIME: Fri May 3 08:50:00 2019
No new log registered...
DEBUG: the log statistics gathering took: 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU)
Skipping HTML build.
DEBUG: generating HTML output took: 0 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)
DEBUG: total execution time: 0 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU)
/var/www/squidanalyzer# ls -la
total 144
drwxr-xr-x 3 root root 4096 mai 2 11:42 .
drwxr-xr-x 4 root root 4096 mai 3 09:15 ..
-rw-r--r-- 1 root root 114124 mai 2 11:42 flotr2.js
drwxr-xr-x 2 root root 4096 mai 2 11:42 images
-rw-r--r-- 1 root root 8465 mai 2 11:42 sorttable.js
-rw-r--r-- 1 root root 7641 mai 2 11:42 squidanalyzer.css
squidanalyzer.conf file
Output /var/www/squidanalyzer
WebUrl /squidanalyzer
LogFile /var/log/squid/access.log
UseClientDNSName 0
DNSLookupTimeout 0.0001
NetworkAlias /etc/squidanalyzer/network-aliases
UserAlias /etc/squidanalyzer/user-aliases
OrderNetwork bytes
OrderUser bytes
OrderUrl bytes
OrderMime bytes
UrlReport 1
UrlHitsOnly 0
UserReport 1
QuietMode 1
CostPrice 0
Currency €
TopNumber 100
TopStorage 0
Exclude /etc/squidanalyzer/excluded
Include /etc/squidanalyzer/included
DateFormat %y-%m-%d
AnonymizeLogin 0
SiblingHit 1
TransfertUnit BYTES
MinPie 2
WriteDelay 3600
TopUrlUser 10