added rewrite rules for Apache

This commit is contained in:
printempw 2016-03-19 20:56:24 +08:00
parent bfd405cc20
commit eb2170beda

View File

@ -4,3 +4,5 @@ RewriteRule ^(skin|cape)/([^/-]*)(|-)(|alex|steve).png$ get.php?type=$1&model=$4
# 以下是可选内容
RewriteRule ^(usm|csl)/([^/]*).json$ get.php?type=json&uname=$2&api=$1 [L]
RewriteRule ^(usm|csl)/textures/(.*)$ textures/$2 [L]
# 用于获取皮肤头像
RewriteRule ^avatar/(|[0-9]*/)([^/-]*).png$ get.php?type=avatar&uname=$2&size=$1 [L]