Fix image height in discover
[stouyapi.git] / www / .htaccess
index 2c5ece0d51c92e38fb5366b3a522d36f2733dab7..aac7ec673ce71e3bac996333556374e382d00fcc 100644 (file)
@@ -1,3 +1,9 @@
+#no iso-2022-cn charset for "com.cis.ouya.oth.htm"
+#"RemoveCharset" does not work, so we have to override with AddCharset
+AddCharset UTF-8 .iso2022-cn .cis
+#Fix game/art.var.pgo.htm
+AddHandler default-handler .var
+
 RewriteEngine on
 RewriteBase /
 
@@ -35,6 +41,11 @@ RewriteRule ^api/v1/gamers$ /api/v1/gamers/register-error.json [R=400,END]
 <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