Advertisement
Guest User

Untitled

a guest
Nov 24th, 2014
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. application: web2py
  2. version: 1
  3. runtime: python27
  4. api_version: 1
  5. threadsafe: false
  6.  
  7. default_expiration: "24h"
  8.  
  9. handlers:
  10. - url: /(?P<a>.+?)/static/(?P<b>.+)
  11. static_files: applications/1/static/2
  12. upload: applications/(.+?)/static/(.+)
  13. secure: optional
  14.  
  15. - url: /favicon.ico
  16. static_files: applications/welcome/static/favicon.ico
  17. upload: applications/welcome/static/favicon.ico
  18.  
  19. - url: /robots.txt
  20. static_files: applications/welcome/static/robots.txt
  21. upload: applications/welcome/static/robots.txt
  22.  
  23. - url: .*
  24. # script: gaehandler.py # CGI
  25. # script: web2py.app # ?
  26. script: gaehandler.wsgiapp # WSGI (Python 2.7 only)
  27. secure: optional
  28.  
  29. admin_console:
  30. pages:
  31. - name: Appstats
  32. url: /_ah/stats
  33.  
  34. skip_files: |
  35. ^(.*/)?(
  36. (app.yaml)|
  37. (app.yml)|
  38. (index.yaml)|
  39. (index.yml)|
  40. (#.*#)|
  41. (.*~)|
  42. (.*.py[co])|
  43. (.*/RCS/.*)|
  44. (..*)|
  45. (applications/(admin|examples)/.*)|
  46. ((admin|examples).(w2p|tar))|
  47. (applications/.*?/(cron|databases|errors|cache|sessions)/.*)|
  48. ((logs|scripts)/.*)|
  49. (anyserver.py)|
  50. (web2py.py)|
  51. ((cgi|fcgi|modpython|wsgi)handler.py)|
  52. (epydoc.(conf|css))|
  53. (httpserver.log)|
  54. (logging.example.conf)|
  55. (route[rs].example.py)|
  56. (setup_(app|exe).py)|
  57. (splashlogo.gif)|
  58. (parameters_d+.py)|
  59. (options_std.py)|
  60. (gluon/tests/.*)|
  61. (gluon/(rocket|winservice).py)|
  62. (contrib/(gateways|markdown|memcache|pymysql)/.*)|
  63. (contrib/(populate|taskbar_widget).py)|
  64. (google_appengine/.*)|
  65. (.*.(bak|orig))|
  66. )$
  67.  
  68. builtins:
  69. - remote_api: on
  70. - appstats: on
  71. - admin_redirect: on
  72. - deferred: on
  73.  
  74. *** Running dev_appserver with the following flags:
  75. --admin_console_server= --port=8080 --use_sqlite
  76. Python command: /usr/local/bin/python2.7
  77. ERROR 2012-11-22 05:24:13,142 dev_appserver_main.py:626] Fatal error when loading application configuration:
  78. mapping values are not allowed here
  79. in "/Applications/+++WWW+++/GAE/gae3web2py/app.yaml", line 9, column 9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement