i managed by replacing ' by ' in my path filter.
<apply path="'app/app'" rule="GRAFANA/grafana/outbound/app/app/html"/> BR ________________________________ De : Sandeep Moré <[email protected]> Envoyé : jeudi 2 août 2018 14:54:17 À : [email protected] Objet : Re: Rewrite problem Looks like you are missing the ' which is part of ng-include So in your filter try <apply path="'public/*" rule="GRAFANA/grafana/outbound/public/html"/> If this does not work try escaping the ', hopefully it should work. Best, Sandeep On Wed, Aug 1, 2018 at 4:20 PM Benoit Moisan <[email protected]<mailto:[email protected]>> wrote: hello, i need some help on a rewrite rule. I have a html file with two types of url : * <script src="public/app/app.ca0ab6f9.js"></script> * <div ng-include="'app/partials/sidemenu.html'"></div> I succeed to modify first one with this filter and rule but it does not work with the second : <rule dir="OUT" name="GRAFANA/grafana/outbound/app/html" pattern="app/{**}"> <rewrite template="{$frontend[path]}/grafana/app/{**}"/> </rule> <rule dir="OUT" name="GRAFANA/grafana/outbound/public/html" pattern="public/{**}"> <rewrite template="{$frontend[path]}/grafana/public/{**}"/> </rule> <filter name="GRAFANA/grafana/outbound/html/filter"> <content type="*/html"> <apply path="app/*" rule="GRAFANA/grafana/outbound/app/html"/> <apply path="public/*" rule="GRAFANA/grafana/outbound/public/html"/> </content> </filter> thanks in advance
