mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update .htaccess
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
|
#REST api
|
||||||
|
RewriteRule ^(.*)/api/(.*)$ $1/api/index.php?rewrite_uri=$2 [QSA]
|
||||||
|
|
||||||
# $mac or $mac.cfg/xml
|
# $mac or $mac.cfg/xml
|
||||||
RewriteRule ^.*([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
|
RewriteRule ^.*([A-Fa-f0-9]{12})(?:\.xml|\.cfg)?$ app/provision/index.php?mac=$1 [QSA]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user