Hi,

I am using a declarative XML rewriter.  I have a problem with a rule, the
matches from the regex in match-path seem to be empty:

    <!-- "resources" -->
    <match-path matches="^/(css|fonts|img|js)/(.+)$">
       <match-method any-of="GET">
          <trace event="debug">0: $0, 1: $1, 2: $2</trace>
          <dispatch>/web/$1/$2</dispatch>
       </match-method>
    </match-path>

And indeed, in the logs, I get the following:

    2017-12-11 18:22:13.681 Info: [Event:id=debug] 0: , 1: , 2:

I feel like I am missing the obvious here.  Any idea?

Regards,

-- 
Florent Georges
H2O Consulting
http://h2o.consulting/
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to