Update .htaccess

This commit is contained in:
FusionPBX 2018-09-03 16:00:25 -06:00 committed by GitHub
parent 886fa95967
commit 107efd3e7f
1 changed files with 3 additions and 0 deletions

View File

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