Lightsquid need a dependency not listed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightsquid (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
To run correctly the package needs the libcgi-pm-perl installed on Ubuntu 18.04 LTS and the package are not on the dependency list.
# lsb_release -rd
Description: Ubuntu 18.04.2 LTS
Release: 18.04
# apt-cache policy lightsquid
lightsquid:
Installed: 1.8-5
Candidate: 1.8-5
Version table:
*** 1.8-5 500
500 http://
100 /var/lib/
-> What you expected to happen: Install the package and be able to see the logs from Squid.
-> What happened instead: Install the package but not work correctly because lack some important packages on the package list (libcgi-pm-perl).
-> Extra important changes to make it work correctly:
Apache2 are not able to process it correctly without two other things:
1-> On the file: /etc/apache2/
Alias /lightsquid/ /usr/lib/
<Location "/lightsquid/">
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Require local
</Location>
2-> To be able to process correctly the Perl CGI and, on file: /etc/lightsquid
...
#path to access.log
$logpath ="/var/log/squid";
...
change from squid3 to squid, as squid3 now is the default. That's it. Thanks.