Currently in my solution I have an HttpHandler that responds to an request that contains “data” in the url.
<handlers>
<remove name="UrlRoutingHandler" />
<add name="MyHandler" verb="GET,POST" path="data/**" type="org.myorg.MyHandler" resourceType="Unspecified"/>
</handlers>
How can I match on URLs containing “data” but have a defined number of segments after the matching segment; say 5?
data/firstSeg/secondSeg/thirdSeg/forthSeg/fifthSeg
Is this possible to configure in the web.config?
thanks!
I believe I have found the answer to my question. I was using:
Double ‘**’ means ‘Everything to the right’. When what I need is: