AWStats as CGI from Browser - Displays awstats.pl instead of Executing
AWStats Log Analyzer
Brought to you by:
eldy,
manolamancha
I have installed AWStats version 7.6 on a Debian 10 Linux VM. I can run awstats.pl with Perl from the command line. Perl is version 5.28.1
When I use the recommended Browser URL after enabling the recommended options in the /etc/awstats/awstats.<website>.conf file to permit this, the result is to display or list the contents of the awstats.pl file. It does not execute awstats.pl, which is clearly marked as executable as demonstrated above.</website>
I use this URL: https://<website>/cgi-bin/awstats.pl?config=<website></website></website>
I use the Bitnami LAMP stack, Apache v2.4.52, PHP v7.4.27. I have modified the Apache httpd.conf to permit CGI and with the recommended ScriptAlias to the AWstats script in /usr/lib/cgi-bin/.
apachectl -M | grep cgi
yields: proxy-fcgi_module (shared)
so CGI is enabled as well.
Any ideas? I'm running out of diagnostic ideas here.
Thanks -