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]> 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 > >
