From ab7597c7ec2d62aadf82c4c647d3dc63dae8de90 Mon Sep 17 00:00:00 2001 From: mcramer <m.cramer@pixcept.de> Date: Thu, 16 Aug 2012 14:53:05 -0400 Subject: [PATCH] Implemented FS#2379 - Add perl option to web sites (apache2 mod_perl2) Fixed (partly) FS#2310 - Template switch not working in mailuser module, for dashlets and the login page --- server/conf/vhost.conf.master | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index 4b11640..6c9513a 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -109,6 +109,19 @@ </IfModule> </tmpl_if> +<tmpl_if name='perl' op='==' value='y'> + <IfModule mod_perl.c> + PerlModule ModPerl::Registry + PerlModule Apache2::Reload + <Directory {tmpl_var name='web_document_root_www'}> + SetHandler perl-script + PerlResponseHandler ModPerl::Registry + PerlOptions +ParseHeaders + Options +ExecCGI + </Directory> + </IfModule> +</tmpl_if> + <tmpl_if name='python' op='==' value='y'> <IfModule mod_python.c> <Directory {tmpl_var name='web_document_root_www'}> -- Gitblit v1.9.1