Google app engine app.yaml中的Static dir,dir name中有空格,如何处理?

Google app engine app.yaml中的Static dir,dir name中有空格,如何处理?,google-app-engine,webapp2,Google App Engine,Webapp2,我有一个GAE+webapp2应用程序,我的html中的href行出现此错误 INFO 2012-08-25 00:08:47,461 dev_appserver.py:2891] "GET /components%20copy_files/bootstrap-typeahead.js HTTP/1.1" 404 - INFO 2012-08-25 00:08:47,470 dev_appserver.py:2891] "GET /components%20copy_files/

我有一个GAE+webapp2应用程序,我的html中的href行出现此错误

INFO     2012-08-25 00:08:47,461 dev_appserver.py:2891] "GET /components%20copy_files/bootstrap-typeahead.js HTTP/1.1" 404 -
INFO     2012-08-25 00:08:47,470 dev_appserver.py:2891] "GET /components%20copy_files/application.js HTTP/1.1" 404 -
(我有一大堆,但是……)

问题是我的html正在引用css/js的这个文件夹 “组件复制\u文件”

如何在app.yaml中映射它?我试过了

- url: /components%20copy_files
    static_dir: templates/components%20copy_files

但是我不能让我的网站加载它的css/js。。。?提前谢谢你的帮助

还有一个后续问题,如果我从不同的托管服务器移植html/css/js,并且所有的href链接和dir都已就位,我如何让app.yaml/webapp2路由到所有这些文件。。我必须声明app.yaml中的每个静态目录吗?顺便说一句:我正在移植一个使用twitter引导程序(由其他人编写)的项目,但我不想回去查看他们的代码并编辑所有的HREF,有没有什么快速的解决方案可以让这些嵌套的资源文件与gae+app.yaml/webapp2配合使用


如果你能帮忙,非常感谢

正确的配置是:

- url: /components%20copy_files
  static_dir: templates/components copy_files
- url: /components\%20copy_files
      static_dir: templates/components\%20copy_files
- url: /components%20copy_files
  static_dir: templates/components copy_files
- url: /components%20copy_files
  static_dir: you can have whatever name you want here(doesn't have to match the url)