The installation steps in that repo seem to assume that your webserver is already configured to run perl CGI scripts. This isn't the case out of the box. With Apache, there are a few things you'll need to do. First, enable handling CGI scripts by adding this to your Apache VirtualHost:
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .pl
Allow from all
Then enable the CGI mod and restart Apache for your changes to take effect:
- a2enmod cgi
- service apache2 restart
Remember to make sure that the
www-data user has correct permissions for the files as well.
You can find more information about using CGI scripts with Apache in this article:
While it targets Ubuntu, it will be very similar for Debian.
This article will teach you how to use SuExec in Apache to run CGI scripts on an Ubuntu VPS.