Commit ff185cf9 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #234 in ZP/z-push from...

Merge pull request #234 in ZP/z-push from bugfix/ZP-928-put-apache-configuration-files-in to develop

* commit 'b7adbe9f':
  ZP-928 Fixed indentation, removed debug.txt block.
  ZP-928 Add default apache configurations to config directory.
parents e632378b b7adbe9f
# Z-Push AutoDiscover - ActiveSync over-the-air - default Apache configuration
<IfModule mod_alias.c>
AliasMatch (?i)/Autodiscover/Autodiscover.xml "/usr/share/z-push/autodiscover/autodiscover.php"
</IfModule>
# 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>
Order allow,deny
allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
<Files "config.php">
<IfModule !mod_authz_core.c>
Deny from All
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</Files>
</Directory>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment