From 3c98ec9f9d3c303db2b519657aa874e9174126ac Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 25 Feb 2014 10:36:01 +0100 Subject: [PATCH] Fix an AliasMatch directive in httpd.conf template --- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess index ca1db9c..bebc78e 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess @@ -3,7 +3,7 @@ $sogoStatus = $sogod{'status'} || "disabled"; $webmailStatus = $imp{'status'} || "disabled"; $activeSync = $sogod{'ActiveSync'} || 'disabled'; - my $lib = ( -d '/usr/lib64/GNUstep/SOGo/WebServerResources' ) ? 'lib64':'lib'; + $lib = ( -d '/usr/lib64/GNUstep/SOGo/WebServerResources' ) ? 'lib64':'lib'; $style = $sogod{'WebServerResources'} || '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/'; $style = '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/' unless ( -d $style); $style =~ s#$#/# unless ( $style =~ m#/$# );