make rewrites actually work correctly so that even for JSON we do not have to supple...
[authserver.git] / .htaccess
1 # Make sure the MultiViews from mod_negotiation do not interfere with the forwarding set below.
2 Options -MultiViews
3
4 RewriteEngine On
5 # Send calls to the PHP equivalents.
6 RewriteCond %{query_string} ^(.+) [NC]
7 RewriteRule ^(authorize|token|api)$ $1.php?%1 [L,NE,PT]
8 RewriteRule ^(authorize|token|api)$ $1.php [L,NE,PT]