I cannot get Perl files to execute. They just download. I set permissions right and here is my CONF file:
<VirtualHost *:80>
ServerAdmin
webmaster@domain.com
ServerName domain.org
ServerAlias
www.domain.org
DocumentRoot /home/vhosts/domain.org/httpdocs
ErrorLog /var/log/apache2/domain.org-error_log
CustomLog /var/log/apache2/domain.org-access_log combined
HostnameLookups Off
UseCanonicalName Off
ServerSignature On
ScriptAlias /cgi-bin/ "/home/vhosts/domain.org/httpdocs/"
AddHandler cgi-script .cgi .pl
<Directory "/home/vhosts/domain.org/httpdocs/">
AllowOverride All
Options +ExecCGI
Order allow,deny
Allow from all
Options Indexes FollowSymLinks
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
Include /etc/apache2/mod_userdir.conf
</IfModule>
</VirtualHost>