blessing-skin-server/.htaccess

11 lines
486 B
ApacheConf
Raw Normal View History

2016-02-14 09:29:21 +08:00
RewriteEngine on
RewriteBase /
2016-02-14 09:29:21 +08:00
RewriteRule ^([^/]*).json$ get.php?type=json&uname=$1 [L]
RewriteRule ^(skin|cape)/([^/-]*)(|-)(|alex|steve).png$ get.php?type=$1&model=$4&uname=$2 [L]
# 同时支持 UniSkinAPI 和 CustomSkinLoader API
2016-02-14 09:29:21 +08:00
RewriteRule ^(usm|csl)/([^/]*).json$ get.php?type=json&uname=$2&api=$1 [L]
RewriteRule ^(usm|csl)/textures/(.*)$ textures/$2 [L]
2016-03-19 20:56:24 +08:00
# 用于获取皮肤头像
RewriteRule ^avatar/(|[0-9]*/)([^/-]*).png$ get.php?type=avatar&uname=$2&size=$1 [L]