added apache2 and ssl config

This commit is contained in:
andreas
2022-07-21 19:55:14 +00:00
parent 40a6cfab88
commit 0aab815e49
472 changed files with 6987 additions and 11 deletions

View File

@@ -0,0 +1,23 @@
# 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
# 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>