I don't know if it matters but I put all my stuff in the directory called Static...
- url: /robots\.txt static_files: static/robots.txt upload: static/robots\.txt This format works. Likely you can swap media for Static... but your .'s and /'s seem to be in places other than where mine are... -----Original Message----- From: google-appengine@googlegroups.com [mailto:google-appeng...@googlegroups.com] On Behalf Of bbayer Sent: Monday, August 31, 2009 4:02 PM To: Google App Engine Subject: [google-appengine] Serving static files problem Hello, I have an application and it is working like a charm on a win32 machine with development server. The problem occurs when I uploaded it to app engine. It seems it couldnt find my static folder contents. It responds 404 when I am trying to get css files. Here it is app.yml handlers: - url: /media static_dir: ./media - url: /favicon\.ico static_files: ./media/favicon.ico upload: ./media/favicon.ico - url: /robots\.txt static_files: ./templates/robots.txt upload: ./templates/robots.txt - url: /update login: admin script: django_bootstrap.py - url: .* script: django_bootstrap.py templates directory is django directory and there is nothing about it. All problem is related with media folder. Any idea? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---