Rewrite URL for Apple Requirements

  1. URL rewriting to provide Apple-like URLs
   RewriteEngine On
  1. Not if it's the root URL. You might want to comment this out if you
  2. want to use an explicit /index.php for getting to the admin pages.
   RewriteCond %{request_uri} !^/$
  1. Not if it explicitly specifies a .php program, stylesheet or image
   RewriteCond %{request_uri} !\\.(php|css|js|png|gif|jpg)
  1. /principals/users/… gets rewritten to /caldav.php/…
   RewriteRule ^(/principals/users.*)$ /caldav.php$1  [[NC,L]]
freebsd/davical.txt · Zuletzt geändert: 2013/12/15 20:11 von idefix