X-Git-Url: https://git-public.kairo.at/?p=authserver.git;a=blobdiff_plain;f=.htaccess;fp=.htaccess;h=839b7b0c153444ff0cd4267232a98f3e8bbc5fcc;hp=da4a7f8646c1a4e2d82adb2ef7a45c35cb00abb7;hb=88191064f51f758e3dcd11cc7cd9612770316895;hpb=80ca2a2f90bd1462e79678e28370b187ae851e59 diff --git a/.htaccess b/.htaccess index da4a7f8..839b7b0 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,8 @@ - RewriteEngine On - # Send calls to the PHP equivalents. - RewriteCond %{query_string} ^(.+) [NC] - RewriteRule ^(authorize|token|api)$ /$1.php?%1 [L,NE,PT] - RewriteRule ^(authorize|token|api)$ /$1.php [L,NE,PT] +# Make sure the MultiViews from mod_negotiation do not interfere with the forwarding set below. +Options -MultiViews + +RewriteEngine On +# Send calls to the PHP equivalents. +RewriteCond %{query_string} ^(.+) [NC] +RewriteRule ^(authorize|token|api)$ $1.php?%1 [L,NE,PT] +RewriteRule ^(authorize|token|api)$ $1.php [L,NE,PT]