From 96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 19 Nov 2010 23:52:44 +0000 Subject: - fix template on 32 bits server --- modules/sympa/templates/vhost_ml.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'modules/sympa/templates/vhost_ml.conf') diff --git a/modules/sympa/templates/vhost_ml.conf b/modules/sympa/templates/vhost_ml.conf index 0b2502b0..bd98b175 100644 --- a/modules/sympa/templates/vhost_ml.conf +++ b/modules/sympa/templates/vhost_ml.conf @@ -1,7 +1,10 @@ ServerName ml.<%= domain %> - DocumentRoot /usr/lib64/sympa/cgi - +<%- +path_cgi_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/sympa/cgi" +-%> + DocumentRoot <%= path_cgi_directory %> + Allow from all -- cgit v1.2.1