Fix an AliasMatch directive in httpd.conf template

tags/ipasserelle-groupware-0.2.37-1 0.2.17_el6
Daniel Berteaud 11 years ago
parent 91189e6845
commit 3c98ec9f9d
  1. 2
      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#/$# );

Loading…
Cancel
Save