<div dir="ltr">Actually the patterns have to be like this:<div><br></div><div>1) /pdfcreate**<br>2) /**.pdf<br></div><div><br></div><div>It would make sense if Yanel would take the first match, always. Otherwise it's like playing roulette...</div><div><br></div><div>Is there a flag where I could tell Yanel to apply "first match" approach?</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 18 Aug 2020 at 07:27, Michael Wechner <<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
Hi Balz<br>
<br>
yes, whereas try<br>
<br>
1) /createpdf* (or /createpdf/*<br>
2) /**.pdf<br>
<br>
Also see<br>
<br>
<a href="http://www.yanel.org/en/documentation/resources/rc-map.html" target="_blank">http://www.yanel.org/en/documentation/resources/rc-map.html</a><br>
<br>
HTH<br>
<br>
Michi<br>
<br>
<div>Am 14.08.20 um 16:39 schrieb basZero:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>i have two similar rules in my map file:</div>
<div><br>
</div>
<div>a) /createpdf</div>
<div>b) /**.pdf</div>
<div><br>
</div>
<div><br>
</div>
<div>a comes BEFORE b in the map file.</div>
<div><br>
</div>
<div>When I request the following URL...</div>
<div>/createpdf/zzzzzzzzzz.pdf</div>
<div><br>
</div>
<div>... it seems to me that matcher b) executes. Is this
possible?</div>
<div>I thought that the map file is parsing from top down... so
the first match will be taken.</div>
<div><br>
</div>
<div>Am I right?</div>
<div><br>
</div>
<div>Cheers, Bas</div>
</div>
<br>
<fieldset></fieldset>
</blockquote>
<br>
</div>
-- <br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a><br>
<a href="http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development" rel="noreferrer" target="_blank">http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development</a></blockquote></div>