dev_appserver.py with runtime go111 url dispatch problem

17 views
Skip to first unread message

Jens-Uwe Mager

unread,
Aug 2, 2019, 10:51:00 AM8/2/19
to Google Cloud Developers
I am still working to get my old style appengines to work under at least go111 (go112 would not work due to dependencies on memcache). I am now stumbling over app.yaml configuration issues with my static files, I used a completely static directory layout before and just specified a few dynamic handlers in the root like this:

runtime: go111

handlers:
- url: /_ah/.*
 script: auto
 login: admin
 secure: always
- url: /dynamic
 script: auto
 secure: always
- url: /admin/.*
 script: auto
 login: admin
 secure: always
- url: (.*)/
 static_files: html\1/index.html
 upload: html/index.html
 secure: always
- url: /(.*\.map)
 mime_type: application/json
 static_files: html/\1
 upload: html/(.*\.map)
 secure: always
- url: /
 static_dir: html
 secure: always

dev_appserver.py will never call my dynamic entry point. In production this does work, but I am still working on the conversion and would like to test locally. Any hints how to convince dev_appserver.py to let me do this? By the way my gcloud tools are updated as of today.

Elliott (Google Cloud Platform Support)

unread,
Aug 2, 2019, 4:39:18 PM8/2/19
to Google Cloud Developers

Hello,


Please note that Google Groups are reserved for general Google Cloud Platform-end product discussions and not for technical issues, which is why I suggest moving the troubleshooting to Stackoverflow to obtain assistance from our programming community for your question.


Jens-Uwe Mager

unread,
Aug 5, 2019, 3:53:57 PM8/5/19
to Google Cloud Developers
Reply all
Reply to author
Forward
0 new messages