the ',last' breaks all other rewrite rules and is also not there in the committed .htaccess, so removing it. anybody know why it was there?

This commit is contained in:
Michiel de Jong 2012-05-11 17:58:50 +02:00
parent 9c2f105164
commit c99d7dd94f
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ class OC_Setup {
$content.= "</IfModule>\n"; $content.= "</IfModule>\n";
$content.= "<IfModule mod_rewrite.c>\n"; $content.= "<IfModule mod_rewrite.c>\n";
$content.= "RewriteEngine on\n"; $content.= "RewriteEngine on\n";
$content.= "RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]\n"; $content.= "RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\n";
$content.= "RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]\n"; $content.= "RewriteRule ^.well-known/host-meta /public.php?service=host-meta [QSA,L]\n";
$content.= "RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]\n"; $content.= "RewriteRule ^.well-known/carddav /remote.php/carddav/ [R]\n";
$content.= "RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]\n"; $content.= "RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]\n";