On Fri, Dec 19, 2014 at 1:38 PM, Sandeep <[email protected]> wrote:
> I have these definitions in my app.yaml. > > I have a request path:/report-from-down coming in and my expectation is > should be handled by last handler : (.*), I wonder why its being handled by > the first handler in above list. > I was not working good earlier when we tested in past, I think something > changed at appengine side causing this. > > I changed the app.yaml to this below and now I see path:/report-from-down > is being handled by (.*) again. > The main problem is that your app.yaml is wrong; for the first and second app.yaml, you need to surround the */login|/report|/stats/.*|/report/data* part with parentheses like so: *(/login|/report|/stats/.*|/report/data)$* [The dollar sign indicates the end of the line]. This helps signal to the YAML parser that the line is a group of matches. Secondly, when you say, "not working good earlier when we tested in past" - how far in the past was this not working for you? As far as I know, I haven't seen any breaking changes in app.yaml routing recently. ----------------- -Vinny P Technology & Media Consultant Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
