git.cweiske.de
/
stouyapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not care about founder's name casing
[stouyapi.git]
/
www
/
.htaccess
diff --git
a/www/.htaccess
b/www/.htaccess
index 2c5ece0d51c92e38fb5366b3a522d36f2733dab7..541105ec88e8072956ee6da91d682fd844a13ae7 100644
(file)
--- a/
www/.htaccess
+++ b/
www/.htaccess
@@
-35,6
+35,11
@@
RewriteRule ^api/v1/gamers$ /api/v1/gamers/register-error.json [R=400,END]
<Files "me">
DirectorySlash Off
</Files>
<Files "me">
DirectorySlash Off
</Files>
+
+#Disable the next two lines to have static usernames only
+RewriteRule ^api/v1/gamers/me$ /api/v1/gamers/me.php [END]
+RewriteRule ^api/v1/sessions$ /api/v1/sessions.php [END]
+
RewriteRule ^api/v1/gamers/me$ /api/v1/gamers/me.json [END]
#purchased games/products
RewriteRule ^api/v1/gamers/me$ /api/v1/gamers/me.json [END]
#purchased games/products