]> source.dussan.org Git - nextcloud-server.git/commitdiff
the ',last' breaks all other rewrite rules and is also not there in the committed...
authorMichiel de Jong <michiel@unhosted.org>
Fri, 11 May 2012 15:58:50 +0000 (17:58 +0200)
committerMichiel de Jong <michiel@unhosted.org>
Fri, 11 May 2012 15:59:21 +0000 (17:59 +0200)
lib/setup.php

index 1929256b6ce7af81365d0d0ff5e1e024b95b4fcb..8c2d523121085f1d9cf2b9b92d277672a5478d9d 100644 (file)
@@ -318,7 +318,7 @@ class OC_Setup {
                $content.= "</IfModule>\n";
                $content.= "<IfModule mod_rewrite.c>\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/carddav /remote.php/carddav/ [R]\n";
                $content.= "RewriteRule ^.well-known/caldav /remote.php/caldav/ [R]\n";