Serving html estático no Google app engine Python
Estou tendo problemas para ficar estático.html
páginas carregadas para o meu aplicativo Python. Quando clico em um link como index.html, Recebo uma página em branco e, no servidor, registro um erro 404. É o mesmo para outros estáticos.html
arquivos como about.html.
O aplicativo funciona, barra os arquivos estáticos. Tentei procurar em vários lugares, mas não consigo acessar as páginas .html. i.e.
INFO 16-04-2011 17: 26: 33,655 dev_appserver.py:3317] "GET / terms.html HTTP / 1.1" 404 -
yaml:
application: quote
version: 1
runtime: python
api_version: 1
handlers:
- url: /index\.html
script: index.py
- url: /
script: index.py
- url: /(.*\.(html))
static_files: static/\1
upload: static/HTML/(.*\.(html))
- url: /favicon.ico
static_files: static/images/favicon.ico
upload: images/favicon.ico
mime_type: image/x-icon
- url: /css
static_dir: static/css
- url: /images
static_dir: static/images
- url: /js
static_dir: static/js
Meus arquivos estáticos estão localizados em static / HTML e index.html está na pasta principal.
Eu também tentei isso, mas parece não fazer nenhuma diferença:
- url: /favicon.ico
static_files: static/images/favicon.ico
upload: images/favicon.ico
mime_type: image/x-icon
- url: /css
static_dir: static/css
- url: /images
static_dir: static/images
- url: /js
static_dir: static/js
- url: /(.*\.(html))
static_files: static/\1
upload: static/HTML/(.*\.(html))
- url: /index\.html
script: index.py
- url: /
script: index.py