Put the main.py at the bottom. I am surprised to identify this. All static files are only being server when they are placed first.
On Nov 11, 9:06 pm, 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 thehttp://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]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=.
