
#--------------------------------------------------------------
# GroupOffice
#--------------------------------------------------------------
Alias /groupoffice /opt/groupoffice/html

<Directory /opt/groupoffice/html>
{
    my $gosec = $groupoffice{'HTTPS'} || "off";
    if ($gosec eq "off")
    {
  $OUT .= "  # SSLRequireSSL on";    
    } else {
  $OUT .= "  SSLRequireSSL on";
    }
}
  AddType application/x-httpd-php .php .php3 .phtml
  Options FollowSymLinks ExecCGI
  AllowOverride None
  Order allow,deny
{
    my $go = $groupoffice{'PublicAccess'} || "local";
    if ($go eq "local")
    {
  $OUT .= "  allow from $localAccess";    
    } else {
  $OUT .= "  allow from all";
    }
}
    Options -Indexes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
    Satisfy all
    AddType application/x-httpd-php .php .php3
    php_admin_value eaccelerator.enable 1
    php_flag  magic_quotes_gpc  on
    php_flag  track_vars        on
</Directory> 
#--------------------------------------------------------------

