Hi Mick, For this app.yaml, it looks like requests under /static/images/... will be handled by main.py since it catches all requests that fall through to that -url pattern. I'm wondering if the /images url should be /static/images instead.
Happy coding, Jeff On May 23, 7:43 pm, Mick <[email protected]> wrote: > Yep here it is... > > application: blah blah > version: 4 > runtime: python > api_version: 1 > > handlers: > - url: /portfolio > static_dir: portfolio > > - url: /css > static_dir: css > > - url: /scripts > static_dir: scripts > > - url: /images > static_dir: images > > - url: /images-global > static_dir: images > > - url: .* > script: main.py > > - url: /index\.html > script: home.py > > On May 18, 4:51 pm, "Jeff S (Google)" <[email protected]> wrote: > > > Hi Mick, > > > Could I see your app.yaml file? The regular expressions for the handler URLs > > would also need to specify that spaces are allowed so it could be an issue > > with the mapping in app.yaml. > > > Thank you, > > > Jeff > > > On Thu, May 14, 2009 at 9:51 AM, Mick <[email protected]> wrote: > > > > Hi, > > > > I have a static directory that contains folders with spaces in their > > > names. Then I try to get to a resource in one of those folders, GAE > > > gives me a 404. Is there anything I can do in app.yaml or the code to > > > make this work? I would really love to keep spaces in folder names. > > > > Example > > > > Folder: /static/images/My Folder/image-001.jpg > > > > When I go tohttp://localhost:8080/static/images/My%20Folder/image-001.jpg > > > , > > > the image doesn't show up. > > > > INFO 2009-05-14 16:07:14,108 dev_appserver.py:2935] "GET /static/ > > > images/My%20Folder/image-001.jpg HTTP/1.1" 404 > > > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
