Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@idleberg
Last active November 25, 2017 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save idleberg/6bc77b1150e2856cc00e to your computer and use it in GitHub Desktop.
Save idleberg/6bc77b1150e2856cc00e to your computer and use it in GitHub Desktop.
Baikal Server Apache settings for iOS and macOS
# Last tested with Baikal 0.4.6
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
# iOS 9.2
RewriteRule /.well-known/carddav /html/card.php [R,L]
RewriteRule /.well-known/caldav /html/cal.php [R,L]
# Mac OS X 10.10
Redirect /.well-known/carddav /html/card.php
</IfModule>
<IfModule mod_expires.c>
ExpiresActive Off
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment