SquidAnalyzer: konfigurasi apache
Jump to navigation
Jump to search
sumber: https://askubuntu.com/questions/838654/problem-setting-up-squidanalyzer
You need to edit your /etc/apache2/apache2.conf file
Add:
Alias /squidreport /var/www/html/squidanalyzer
<Directory /var/www/html/squidanalyzer>
Options +FollowSymLinks +MultiViews -Indexes
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.1
Allow from all
</Directory>
My web directory is /var/www/html, I guess yours is /var/www/
Then you need to generate the reports by running: /usr/local/bin/squid-analyzer
That will generate your index.html page. Without that, squidanalyzer won't work
You can add the above command to a daily cronjob. Good luck!