diff options
Diffstat (limited to 'modules/sympa')
-rw-r--r-- | modules/sympa/templates/vhost_ml.conf | 7 |
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> |