aa026f2
#
aa026f2
# Zarafa Webaccess featuring a 'Look & Feel' similar to Outlook
aa026f2
#
aa026f2
aa026f2
Alias /webaccess /usr/share/zarafa-webaccess/
aa026f2
aa026f2
# Following Apache and PHP settings need to be set to work correct
aa026f2
#
aa026f2
<Directory /usr/share/zarafa-webaccess/>
aa026f2
    # Some apache settings
6ac2e41
    DirectoryIndex index.php
aa026f2
    Options -Indexes +FollowSymLinks
aa026f2
6ac2e41
    <IfModule mod_authz_core.c>
6ac2e41
        # Apache 2.4
6ac2e41
        Require all granted
6ac2e41
    </IfModule>
6ac2e41
    <IfModule !mod_authz_core.c>
310ac54
        # Apache 2.2
6ac2e41
        Order allow,deny
6ac2e41
        Allow from all
6ac2e41
    </IfModule>
6ac2e41
aa026f2
    # Register globals must be off
aa026f2
    php_flag register_globals off
aa026f2
aa026f2
    # Magic quotes must be off
aa026f2
    php_flag magic_quotes_gpc off
aa026f2
    php_flag magic_quotes_runtime off
aa026f2
aa026f2
    # The maximum POST limit. To upload large files, this value must
aa026f2
    # be larger than upload_max_filesize.
aa026f2
    php_value post_max_size 31M
aa026f2
    php_value upload_max_filesize 30M
aa026f2
aa026f2
    # Short open tags must be on
aa026f2
    php_flag short_open_tag on
aa026f2
6ac2e41
    # Uncomment to enhance security of WebAccess by restricting cookies
6ac2e41
    # to only be provided over HTTPS connections
6ac2e41
#    php_flag session.cookie_secure on
6ac2e41
#    php_flag session.cookie_httponly on
6ac2e41
aa026f2
    # Uncomment for debugging purposes only. Make sure Apache/PHP can
aa026f2
    # write to this file or no errors will be logged!
aa026f2
#    php_flag log_errors on
aa026f2
#    php_value error_log /var/lib/zarafa-webaccess/error_log
aa026f2
</Directory>