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.
zeldor says
That could be your Virtual-Domain configuration /etc/apache2/sites-enabled/your-site
Also it could be /etc/apache2/conf.d/mycgi
macaronij says
which is the configuration file of apache 2?