aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-19 23:52:44 +0000
committerMichael Scherer <misc@mageia.org>2010-11-19 23:52:44 +0000
commit96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8 (patch)
tree7cc1c1895c801e68e35ef4be13911119407e70c5
parent809dc51adb370d2a14dfb7384d609ee3390e53e0 (diff)
downloadpuppet-96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8.tar
puppet-96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8.tar.gz
puppet-96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8.tar.bz2
puppet-96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8.tar.xz
puppet-96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8.zip
- fix template on 32 bits server
-rw-r--r--modules/sympa/templates/vhost_ml.conf7
1 files changed, 5 insertions, 2 deletions
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 @@
<VirtualHost *:80>
ServerName ml.<%= domain %>
- DocumentRoot /usr/lib64/sympa/cgi
- <Location />
+<%-
+path_cgi_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/sympa/cgi"
+-%>
+ DocumentRoot <%= path_cgi_directory %>
+ <Location />
Allow from all
</Location>
</VirtualHost>