# To install, rename to .htaccess # mod_rewrite rules to allow PHP running as # a CGI binary to perform remote access authentication # as well as accept Webdav like URLs when publishing # calendars. # See the Thyme FAQ for more information # http://www.extrosoft.com RewriteEngine On RewriteCond %{REQUEST_URI} (.*/remote/ical.php)/([0-9]+)/ RewriteRule .* %1?calendar=%2 [L] RewriteCond %{HTTP:Authorization} ^Basic\ (.+) RewriteCond %{QUERY_STRING} !&auth\= RewriteRule ^(.*) $1?%{QUERY_STRING}&auth=%1 [L]