Skip to content
This repository
branch: master
Xin Liu June 03, 2011
executable file 199 lines (137 sloc) 2.888 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
application: v2ex
version: 1
runtime: python
api_version: 1

default_expiration: "10d"

derived_file_type:
- python_precompiled

handlers:
- url: /favicon.ico
  static_files: static/img/favicon.ico
  upload: static/img/favicon.ico

- url: /apple-touch-icon.png
  static_files: static/img/apple-touch-icon.png
  upload: static/img/apple-touch-icon.png
    
- url: /static
  static_dir: static

- url: /css/.*
  script: css.py

- url: /blog/([a-zA-Z0-9\_\-]+)
  script: blog.py
  
- url: /entry/([0-9]+)
  script: blog.py

- url: /settings
  script: member.py

- url: /settings/.*
  script: member.py

- url: /member/.*
  script: member.py

- url: /backstage
  script: backstage.py

- url: /backstage/.*
  script: backstage.py

- url: /new/.*
  script: topic.py
  
- url: /t/.*
  script: topic.py

- url: /r/.*
  script: topic.py
  
- url: /edit/.*
  script: topic.py
  
- url: /delete/.*
  script: topic.py

- url: /hit/.*
  script: topic.py

- url: /index/.*
  script: topic.py
  
- url: /(avatar|navatar)/.*
  script: avatar.py

- url: /index.xml
  script: feed.py
  
- url: /feed/v2ex.rss
  script: feed.py

- url: /feed/(.+).xml
  script: feed.py

- url: /about
  script: page.py
  
- url: /faq
  script: page.py

- url: /mission
  script: page.py

- url: /advertise
  script: page.py
  
- url: /advertisers
  script: page.py
  
- url: /notes/?
  script: notes.py

- url: /notes/.*
  script: notes.py

- url: /api/.*
  script: api.py

- url: /twitter/?
  script: t.py

- url: /twitter/.*
  script: t.py

- url: /time/?
  script: misc.py

- url: /(md5|sha1)/?
  script: misc.py

- url: /mapreduce(/.*)?
  script: mapreduce/main.py
  login: admin

- url: /images(/.*)?
  script: images.py

- url: /d/([0-9]+)?
  script: images.py

- url: /place/([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})
  script: place.py

- url: /remove/place_message/(.*)
  script: place.py
 
- url: /_ah/mail/.+
  script: mail.py
  login: admin

- url: /_ah/xmpp/.+
  script: xmpp.py
  login: admin

- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin

- url: /block/(.*)
  script: member.py

- url: /unblock/(.*)
  script: member.py

- url: /favorite/(.*)
  script: favorite.py

- url: /unfavorite/(.*)
  script: favorite.py

- url: /follow/(.*)
  script: favorite.py

- url: /unfollow/(.*)
  script: favorite.py

- url: /my/(.*)
  script: my.py

- url: /add/star/(.*)
  script: queue.py
  login: admin

- url: /minus/star/(.*)
  script: queue.py
  login: admin

- url: /money/(.*)
  script: money.py

- url: /sso/(.*)
  script: sso.py

- url: /notifications/?
  script: notifications.py

- url: /n/([a-z0-9]+).xml
  script: notifications.py
    
- url: /notifications/(.*)
  script: notifications.py

- url: /bfbcs/poke/(ps3|360|pc)/(.*)
  script: misc.py

- url: .*
  script: main.py

inbound_services:
- mail
- xmpp_message

builtins:
- datastore_admin: off
Something went wrong with that request. Please try again.