If you want to enable CGI support for you domain or subdomain.
Install Apache2 mod-perl module:
1 | aptitude install libapache2-mod-perl2 |
Add this to the Apache configuration:
1 2 3 4 | <directory "="" var="" www="" domain="" cgi-scripts"=""> Allow from all Options All FollowSymLinks MultiViews </directory> |
Only scripts in directory /var/www/cgi-scripts can be executed as CGI.