When i use the sample code for image files (from the App Engine
documentation) in my app.yaml file, it works fine:

- url: /(.*\.(gif|png|jpg))
  static_files: static/\1
  upload: static/(.*\.(gif|png|jpg))

When I add pdf as a static file type ...

- url: /(.*\.(gif|png|jpg|pdf))
  static_files: static/\1
  upload: static/(.*\.(gif|png|jpg|pdf))

... it produces a "404 - File Not Found" error from the web server.
Does anyone know how to configure app.yaml for pdf documents?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to