Read here for explanation: http://code.google.com/appengine/docs/python/gettingstarted/staticfiles.html
<http://code.google.com/appengine/docs/python/gettingstarted/staticfiles.html>Specifically this part: "URL handler path patterns are tested in the order they appear in app.yaml, from top to bottom." On Thu, Nov 12, 2009 at 12:06 AM, Felix <[email protected]> wrote: > Hi, > I am having YAML problems with my application. > > application: testing-ideas > version: 1 > runtime: python > api_version: 1 > > handlers: > - url: .* > script: main.py > > - url: /images > static_dir: images > > Above code is my app.yaml.In my main.py, I have a html code which > contains a img tag. > > self.response.out.write('<html><body><img src="images/ > ideaOneLiner.png"/></body></html>') > > When I try to access the http://www.testing-ideas.appspot.com, I am > getting a page with a broken image icon in the browser, for missing > image file. I have the ideaOneLiner.png file inside the images > directory. I am doing something terribly wrong but I am not able to > figure what it is :). Can someone please help me out. Thanks!!! > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=.
