File kolab-syncroton-httpd.conf of Package kolab-syncroton

# Kolab Groupware Server ActiveSync Module
#
# By default, this configuration file allows access to:
#
#   http://your.server.name/Microsoft-Server-ActiveSync
#
# You should configure your webserver to allow the client over SSL only.
#
# See the Kolab Groupware Installation Manual for more information.
#

<IfModule mod_alias.c>
    ScriptAlias /Microsoft-Server-ActiveSync __KOLAB_SYNCROTON_ROOT__/index.php
</IfModule>

<Directory "__KOLAB_SYNCROTON_ROOT__/">
    <IfModule mod_authz_core.c>
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order Allow,Deny
        # Allow from 127.0.0.1
        Allow from All
    </IfModule>

    Options +FollowSymLinks

    # needed for https://issues.kolab.org/show_bug.cgi?id=1660
    # on systems that do not allow .htaccess files
    <IfModule mod_php5.c>
        php_flag display_errors                  Off
        php_flag log_errors                      On
        php_flag magic_quotes_gpc                Off
        php_flag magic_quotes_runtime            Off
        php_flag zend.ze1_compatibility_mode     Off
        php_flag suhosin.session.encrypt         Off
        php_flag session.auto_start              Off
        php_value mbstring.func_overload         0
        php_value error_log                      logs/errors
    </IfModule>
</Directory>

<Directory "__KOLAB_SYNCROTON_ROOT__/config/">
    <ifModule mod_authz_core.c>
        Require all denied
    </ifModule>
    <ifModule !mod_authz_core.c>
        Order Deny,Allow
        Deny from All
    </ifModule>

    Options -FollowSymLinks
</Directory>

<Directory "__KOLAB_SYNCROTON_ROOT__/lib/">
    <ifModule mod_authz_core.c>
        Require all denied
    </ifModule>
    <ifModule !mod_authz_core.c>
        Order Deny,Allow
        Deny from All
    </ifModule>
</Directory>

<Directory "__KOLAB_SYNCROTON_ROOT__/logs/">
    <ifModule mod_authz_core.c>
        Require all denied
    </ifModule>
    <ifModule !mod_authz_core.c>
        Order Deny,Allow
        Deny from All
    </ifModule>

    Options -FollowSymLinks
</Directory>
openSUSE Build Service is sponsored by