While it would be nice, if you read the spec, the handlers section is for REGEXP matching on paths only, not query params. If you design your app using RESTful principles, you can easily convert your query param access to URI-based access. Just route based on /app/escaped_fragment/.* and in the...
php,angularjs,google-app-engine,app.yaml
Your catchall - url: /.* should go last. It is catching all requests. The unexpected < is the first character in index.php, which is the response you are getting when you request script.js. Next, we can clean up your static file config...
python,json,google-app-engine,youtube-api,app.yaml
I was able to find an example online that I got to work, so I used those app.yaml settings in my project, which then worked. It would be nice for Google to post more complete examples, instead of clips from only the .py script. application: [your app name] version: 1...
python,google-app-engine,http-status-code-404,app.yaml
Since you have as your first handler: - url: /.* script: main.app that will match any URL that's requested and send it to main.app -- no other handler is ever consulted! Just move that stanza to the end of your handlers: section in app.yaml, and you should be fine....
php,google-app-engine,parameters,app.yaml
The app.yaml you copied into your question (assuming the quotes I noted in the comments aren't really in your app.yaml file) looks fine for URLs both with and without parameters. It's unclear what error you are receiving and/or what unexpected behavior you're seeing. To be clear, the app.yaml file routes...
python,google-app-engine,app.yaml,google-app-engine-python
The answer is oh so simple: make every access path application_readable, because negative permissions are stronger than positive ones. - url: /img static_dir: application/static/img application_readable: true # <---- !!!!! - url: /static static_dir: application/static application_readable: true So kind of eat my own words, it is a simple case of application_readable:true...
You can use regex patterns with PHP GAE just like in the Python GAE example referenced in the comment. So, give the following a try: application: myproject-testing-112 version: 1 runtime: php api_version: 1 threadsafe: yes handlers: - url: /(.+\.php).* script: \1 To be clear, this one entry will map every...
google-app-engine,web.xml,app.yaml
Just add your xml to the web_xml key, please see the example bellow: web_xml: | <mime-mapping> <extension>woff</extension> <mime-type>application/font-woff</mime-type> </mime-mapping> The above xml will be merged to the generated web.xml...
php,google-app-engine,app.yaml,sitemap.xml
reading the oficial doc https://cloud.google.com/appengine/docs/php/config/mod_rewrite i did this: <$php $path = parse_url($_SERVER['PATH_INFO'], PHP_URL_PATH); if ($path == '/path') { } ?> ...
google-app-engine,routing,app.yaml
Take a look at the Google App Engine Boilerplate: - url: /(\w*)/(apple-touch-icon.*\.(png)) static_files: bp_content/themes/\1/static/\2 upload: bp_content/themes/(\w*)/static/(apple-touch-icon.*\.(png)) That's the relevant source for your needs, and you might also pick up a few more tricks :)...