X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=app%2F.htaccess;fp=app%2F.htaccess;h=839b7b0c153444ff0cd4267232a98f3e8bbc5fcc;hb=04116cc5dabb951023fb511fda0dc36956d6a84a;hp=0000000000000000000000000000000000000000;hpb=c4e0aceb5d9e9076effd75de03f4588b65329740;p=authserver.git diff --git a/app/.htaccess b/app/.htaccess new file mode 100644 index 0000000..839b7b0 --- /dev/null +++ b/app/.htaccess @@ -0,0 +1,8 @@ +# 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]