Структура dir-
MyApplication (Project Dir)
-static
--inside static, I got different dirs containing images, css, htmls, etc
-some other dirs
-app.yaml
-index.py
-index.html
Содержимое app.yaml is-
application: MyApplicationID
version: 1
runtime: python
api_version: 1
handlers:
- url: /favicon.ico
static_files: static/images/favicon.ico
upload: static/images/favicon.ico
mime_type: image/x-icon
- url: /robots.txt
static_files: static/robots.txt
upload: static/robots.txt
- url: /static
static_dir: static
secure: optional
- url: /projects
static_dir: projects
secure: optional
- url: /about
static_dir: about
secure: optional
- url: /
static_files: index.html
upload: index.html
- url: /.*
script: index.py
secure: optional
Все отлично работает, кромечто если что-либо на html-страницах перенаправляет на «index.html», я получаю страницу, которая не найдена ( «GET /index.html HTTP / 1.1» 404 - ).Я пытался следовать этому - https://gist.github.com/873098, но все равно не повезло.Я пробовал другие предложения в других темах, но все равно не повезло.Если я удалю - url: / все равно не повезет.Пожалуйста, сообщите.