aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/templates/webapp_sympa.conf
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2010-11-20 00:16:45 +0000
committerMichael Scherer <misc@mageia.org>2010-11-20 00:16:45 +0000
commitfbf232fec59d8166508c14beb9ba2138969caf0c (patch)
treed853a581f4e4a5ab9bf75305a920f1acf2397dc8 /modules/sympa/templates/webapp_sympa.conf
parent96fa1f9ddb8dc2b1ef9b3a0d0cefe7f3b555e4d8 (diff)
downloadpuppet-fbf232fec59d8166508c14beb9ba2138969caf0c.tar
puppet-fbf232fec59d8166508c14beb9ba2138969caf0c.tar.gz
puppet-fbf232fec59d8166508c14beb9ba2138969caf0c.tar.bz2
puppet-fbf232fec59d8166508c14beb9ba2138969caf0c.tar.xz
puppet-fbf232fec59d8166508c14beb9ba2138969caf0c.zip
- also fix the directory ( maybe I should add a facter plugin for this too )
Diffstat (limited to 'modules/sympa/templates/webapp_sympa.conf')
-rw-r--r--modules/sympa/templates/webapp_sympa.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/sympa/templates/webapp_sympa.conf b/modules/sympa/templates/webapp_sympa.conf
index 970a8836..84debe38 100644
--- a/modules/sympa/templates/webapp_sympa.conf
+++ b/modules/sympa/templates/webapp_sympa.conf
@@ -1,4 +1,7 @@
-<Directory /usr/lib64/sympa/cgi>
+<%-
+path_cgi_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/sympa/cgi"
+-%>
+<Directory <%= path_cgi_directory %> >
Options ExecCGI
AddHandler fastcgi-script .fcgi
DirectoryIndex wwsympa-wrapper.fcgi