added apache2 and ssl config
This commit is contained in:
23
webapp/etc/apache2/conf-available/z-push.conf
Normal file
23
webapp/etc/apache2/conf-available/z-push.conf
Normal 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>
|
||||
Reference in New Issue
Block a user