Der Einsatz von CGI (in Abgrezung zu FastCGI) ist in aller Regel performancetechnisch nachteilig. Er kann allerdings für Debugging-Zwecke sinnvoll sein. Folgender Konfigurationsschnippsel funktioniert mit Apache:
AddHandler cgi-script .pl AliasMatch ^/url/for/kivitendo-erp/[^/]+\.pl$ /var/www/kivitendo-erp/cgi/dispatcher.pl # Alias /url/for/kivitendo-erp/webdav /var/www/kivitendo-erp/webdav Alias /url/for/kivitendo-erp /var/www/kivitendo-erp/public <Directory "/var/www/kivitendo-erp/cgi"> Options +ExecCGI Require all granted </Directory> <Directory "/var/www/kivitendo-erp/public"> Options -ExecCGI +FollowSymlinks Require all granted </Directory>