Squid Log Report : LightSquid2015/05/20 |
Install LightSquid to generate Squid Log Report.
|
|
[1] | |
[2] | Install and Configure LightSquid. |
root@prox:~#
aptitude -y install lightsquid
root@prox:~#
vi /etc/apache2/conf-available/lightsquid.conf
<Location "/lightsquid/">
# add: enable CGI Options +ExecCGI Require local # add IP addresses you permit Require ip 10.0.0.0/24 </Location>
root@prox:~#
vi /etc/apache2/mods-enabled/mime.conf # line 219: uncomment and add filename extensions for CGI AddHandler cgi-script .cgi .pl
a2enmod cgi Enabling module cgi. To activate the new configuration, you need to run: service apache2 restart root@prox:~# a2enconf lightsquid Enabling conf lightsquid. To activate the new configuration, you need to run: service apache2 reload
root@prox:~#
systemctl restart apache2
# generate reports root@prox:~# /usr/share/lightsquid/lightparser.pl
# reports are generated daily by /etc/cron.d/lightsquid |
[3] | Access to the "http://(server's hostname or IP address)/lightsquid/". It's Ok if following Squid report site is shown normally. |
Sponsored Link |