/etc/apache2/conf-available/z-push.conf is in z-push-common 2.3.8-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | # Z-Push - ActiveSync over-the-air - default Apache configuration
<IfModule mod_alias.c>
Alias /Microsoft-Server-ActiveSync /usr/share/z-push/index.php
</IfModule>
<Directory /usr/share/z-push>
# Don't list a directory index, follow symlinks (maybe state dir is somewhere linked)
DirectoryIndex index.php
Options -Indexes +FollowSymLinks
# Z-push requirements
php_value magic_quotes_gpc off
php_value magic_quotes_runtime off
php_value register_globals off
php_value short_open_tag on
# Optional
# php_value display_errors off
# Setting memory limit higher (larger attachments)
php_value memory_limit 128M
# Security
# Don't allow .htaccess Overrides, disallow access to files
AllowOverride none
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<Files "config.php">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</Files>
</Directory>
|