1 |
dungog |
1.1 |
--- smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases.http2 2009-06-06 14:45:51.000000000 +1000 |
2 |
|
|
+++ smeserver-zarafa-0.9.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/29ZarafaAliases 2009-06-06 15:21:45.000000000 +1000 |
3 |
|
|
@@ -8,7 +8,8 @@ |
4 |
|
|
my $dirs; |
5 |
|
|
$dirs{zarafa} = '/var/www/html/webaccess'; |
6 |
|
|
$dirs{webaccess} = '/var/www/html/webaccess'; |
7 |
|
|
- unless ($imp{'status'} eq 'enabled') {$dirs{webmail} = '/var/www/html/webaccess'}; |
8 |
|
|
+ $dirs{webmail} = '/var/www/html/webaccess'; |
9 |
|
|
+ if ($imp{'status'} eq 'enabled') {$dirs{webmail} = ''}; |
10 |
|
|
$dirs{mobile} = '/var/www/html/webaccess-mobile'; |
11 |
|
|
$dirs{'Microsoft-Server-ActiveSync'} = '/var/www/html/z-push/index.php'; |
12 |
|
|
|
13 |
|
|
@@ -21,7 +22,7 @@ |
14 |
|
|
{ |
15 |
|
|
$OUT .= " RewriteRule ^/$place(/.*|\$) https://%{HTTP_HOST}/$place\$1 [L,R]\n"; |
16 |
|
|
} else { |
17 |
|
|
- $OUT .= " Alias /$place $dirs{$place}\n"; |
18 |
|
|
+ if (($dirs{$place}) ne '') {$OUT .= " Alias /$place $dirs{$place}\n"}; |
19 |
|
|
} |
20 |
|
|
} |
21 |
|
|
} |