DirectoryIndex index.pl index.html index.htm
ServerName localhost
DocumentRoot /var/www/
et rajouter les lignes suivantes :
<Directory "/var/www/frontend-perl/"> Options ExecCGI AddHandler cgi-script .pl </Directory>
Puis transformer
# If the perl module is installed, this will be enabled. <IfModule mod_perl.c> Alias /perl/ /var/www/perl/ <Location /perl> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI </Location> </IfModule>en ce qui suit
# If the perl module is installed, this will be enabled. <IfModule mod_perl.c> Alias /perl/ /var/www/frontend-perl/ <Location /var/www/frontend-perl/> SetHandler perl-script PerlHandler Apache::Registry Options +ExecCGI </Location> </IfModule>