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