Davical

Dec 15, 2013
1 min read
Jun 30, 2023 16:33 EEST

Rewrite URL for Apple Requirements

  • URL rewriting to provide Apple-like URLs
   RewriteEngine On
  • Not if it’s the root URL. You might want to comment this out if you
  • want to use an explicit /index.php for getting to the admin pages.
   RewriteCond %{request_uri} !^/$
  • Not if it explicitly specifies a .php program, stylesheet or image
   RewriteCond %{request_uri} !\\.(php|css|js|png|gif|jpg)
  • /principals/users/… gets rewritten to /caldav.php/…
   RewriteRule ^(/principals/users.*)$ /caldav.php$1  [[NC,L]]

Related Posts