From 72d6a8a72c7223ad932e97a0f7c94bc517c9e53b Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Sat, 15 Feb 2014 16:28:35 +0100
Subject: [PATCH] Fixed: FS#3329 - perl cgi scripts not working on Ubuntu LTS

---
 server/conf/vhost.conf.master | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master
index 963174da67..acdf8f4c72 100644
--- a/server/conf/vhost.conf.master
+++ b/server/conf/vhost.conf.master
@@ -142,6 +142,11 @@
 				PerlOptions +ParseHeaders
 				Options +ExecCGI
 			</Directory>
+			<Directory {tmpl_var name='web_document_root'}>
+				PerlResponseHandler ModPerl::Registry
+				PerlOptions +ParseHeaders
+				Options +ExecCGI
+			</Directory>
             <Files *.pl>
 				SetHandler perl-script
             </Files>
-- 
GitLab