[google-appengine] Re: Getting 404 when there are spaces in the URL

2009-05-26 Thread Jeff S (Google)
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 wrote: >

[google-appengine] Re: Getting 404 when there are spaces in the URL

2009-05-23 Thread Sylvain
With this : - url: /(.*) static_files: \1 upload: (.*) Then files with space doesn't work too. Regards On 24 mai, 04:43, Mick wrote: > Yep here it is... > > application: blah blah > version: 4 > runtime: python > api_version: 1 > > handlers: > - url: /portfolio >   static_dir: portfolio >

[google-appengine] Re: Getting 404 when there are spaces in the URL

2009-05-23 Thread Mick
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: .

[google-appengine] Re: Getting 404 when there are spaces in the URL

2009-05-18 Thread Jeff S (Google)
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 wrote: > > Hi, > > I have a static directory tha