浏览代码

support new phones

Nuno Miguel Reis 12 年之前
父节点
当前提交
cc0fd84fcb
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .htaccess

+ 2 - 0
.htaccess

@@ -3,3 +3,5 @@ RewriteEngine	On
 
 RewriteRule     ^([A-Fa-f0-9]{12})(\.(xml|cfg))?$                        app/provision/index.php?mac=$1 [QSA]
 RewriteRule     ^([A-Fa-f0-9]{2}[:-][A-Fa-f0-9]{2}[:-][A-Fa-f0-9]{2}[:-][A-Fa-f0-9]{2}[:-][A-Fa-f0-9]{2}[:-][A-Fa-f0-9]{2}[:-])(\.(xml|cfg))?$                        app/provision/index.php?mac=$1 [QSA]
+RewriteRule     ^(kt.*?-)([A-Fa-f0-9]{12})(\.(xml))$                        app/provision/index.php?mac=$2 [QSA]
+RewriteRule     ^(cfg)([A-Fa-f0-9]{12})(\.(xml))$                        app/provision/index.php?mac=$2 [QSA]