[Mageia-sysadm] [334] - fix template on 32 bits server
root at mageia.org
root at mageia.org
Sat Nov 20 00:52:44 CET 2010
Revision: 334
Author: misc
Date: 2010-11-20 00:52:44 +0100 (Sat, 20 Nov 2010)
Log Message:
-----------
- fix template on 32 bits server
Modified Paths:
--------------
puppet/modules/sympa/templates/vhost_ml.conf
Modified: puppet/modules/sympa/templates/vhost_ml.conf
===================================================================
--- puppet/modules/sympa/templates/vhost_ml.conf 2010-11-19 20:19:09 UTC (rev 333)
+++ puppet/modules/sympa/templates/vhost_ml.conf 2010-11-19 23:52:44 UTC (rev 334)
@@ -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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101120/00369fc7/attachment.html>
More information about the Mageia-sysadm
mailing list