浏览代码

Add rewrite rule from snom m3

Rüdiger Hahn 12 年之前
父节点
当前提交
7c6da55f13
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      .htaccess

+ 4 - 1
.htaccess

@@ -1,7 +1,10 @@
 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]
+
+#snom m3
+RewriteRule     ^(m3/settings/)([A-Fa-f0-9]{12})(\.(cfg))?$                        app/provision/index.php?mac=$2 [QSA]
+