RewriteRule ^symphony\/api(\/(.*\/?))?$ extensions/rest_api/handler.php?url=$1&%{QUERY_STRING} [NC,L]
Match ^/symphony\/api(\/(.*\/?))?\?.*$ Rewrite /extensions/rest_api/handler.php?url=$1&$3
Match ^/symphony\/api(\/(.*\/?))?$ Rewrite /extensions/rest_api/handler.php?url=$1
Match ^/symphony\/api(\/(.*\/?))?\?(.*)$ Rewrite /extensions/rest_api/handler.php?url=$1&$3
Match ^/symphony\/api(\/(.*\/?))?$ Rewrite /extensions/rest_api/handler.php?url=$1
UrlToolkit {
ToolkitID = symphony
Match ^/manifest/.* DenyAccess
Match ^/workspace/utilities/.*\.xsl$ DenyAccess
Match ^/workspace/pages/.*\.xsl$ DenyAccess
Match ^/.*\.sql$ DenyAccess
Match ^/favicon.ico$ Return
Match ^/symphony\/api(\/(.*\/?))?\?(.*)$ Rewrite /extensions/rest_api/handler.php?url=$1&$3
Match ^/symphony\/api(\/(.*\/?))?$ Rewrite /extensions/rest_api/handler.php?url=$1
Match ^/symphony\/api Exit
Match ^/image\/(.+\.(jpg|gif|jpeg|png|bmp))$ Rewrite /extensions/jit_image_manipulation/lib/image.php?param=$1
Match ^/symphony\/?$ Rewrite /index.php?mode=administration
RequestURI exists Return
Match (.*)\?(.*) Rewrite $1&$2 Continue
Match ^/symphony(\/(.*\/?))?$ Rewrite /index.php?symphony-page=$1&mode=administration
Match ^/(.*\/?)$ Rewrite /index.php?symphony-page=$1
}