Fix an AliasMatch directive in httpd.conf template

tags/0.2.17_el5
Daniel Berteaud 11 years ago
parent 42e6d8108c
commit ab50b12913
  1. 2
      root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85SOGoAccess

@ -3,7 +3,7 @@
$sogoStatus = $sogod{'status'} || "disabled"; $sogoStatus = $sogod{'status'} || "disabled";
$webmailStatus = $imp{'status'} || "disabled"; $webmailStatus = $imp{'status'} || "disabled";
$activeSync = $sogod{'ActiveSync'} || '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 = $sogod{'WebServerResources'} || '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/';
$style = '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/' unless ( -d $style); $style = '/usr/' . $lib . '/GNUstep/SOGo/WebServerResources/' unless ( -d $style);
$style =~ s#$#/# unless ( $style =~ m#/$# ); $style =~ s#$#/# unless ( $style =~ m#/$# );

Loading…
Cancel
Save