I've viewed the messages already in the discussion but can't figure
out what the heck I'm doing wrong! Perhaps I'm going mad?

The first below works(but obviously I want to use 'media/global/imgs/
favicon.ico') but no matter what I do it seems to not work. Just
throws 404, 302 and in viewing the console it appears that the
'media/' from the static_files: and upload: is not being converted to
_generated_media/12/ as it is for everything else. The problem is
specific to app.yaml as I'm use MEDIA_URL and $MEDIA_URL all over my
code in templates, .css, and javascript with zero problems.

Help is greatly appreciated and many thanks!

Dave

*********the below works*************
handlers:

- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  secure: optional
  login: admin

- url: /media
  static_dir: _generated_media
  secure: optional

- url: /favicon.ico
  static_files: _generated_media/12/global/imgs/favicon.ico
  upload: _generated_media/12/global/imgs/favicon.ico

- url: /bg-tasks/.*
  script: common/appenginepatch/main.py
  secure: optional
  login: admin

- url: /.*
  script: common/appenginepatch/main.py
  secure: optional

********this does not*******
- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  secure: optional
  login: admin

- url: /media
  static_dir: _generated_media
  secure: optional

- url: /favicon.ico
  static_files: media/global/imgs/favicon.ico
  upload: media/global/imgs/favicon.ico

- url: /bg-tasks/.*
  script: common/appenginepatch/main.py
  secure: optional
  login: admin

- url: /.*
  script: common/appenginepatch/main.py
  secure: optional

*********and this also does not work*********
- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  secure: optional
  login: admin

- url: /media
  static_dir: _generated_media
  secure: optional

- url: /bg-tasks/.*
  script: common/appenginepatch/main.py
  secure: optional
  login: admin

- url: /.*
  script: common/appenginepatch/main.py
  secure: optional

- url: /favicon.ico
  static_files: media/global/imgs/favicon.ico
  upload: media/global/imgs/favicon.ico

--

You received this message because you are subscribed to the Google Groups 
"app-engine-patch" 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/app-engine-patch?hl=en.


Reply via email to