forked from Arachnid/bloggart
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handling for root only files like robot.txt for url_prefix.
Also added app_blog.yaml which is the example app.yaml if you plan to host your application on /blog instead of root. Fixed few other issues with url_preifx.
- Loading branch information
Showing
4 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
application: bloggart-demo | ||
version: live | ||
runtime: python | ||
api_version: 1 | ||
|
||
handlers: | ||
- url: /remote_api | ||
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py | ||
login: admin | ||
|
||
- url: /_ah/queue/deferred | ||
script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py | ||
login: admin | ||
|
||
- url: /blog/admin/.* | ||
script: admin.py | ||
login: admin | ||
|
||
- url: /blog/static/([^/]+)/(.*) | ||
static_files: themes/\1/static/\2 | ||
upload: themes/[^/]+/static/.* | ||
|
||
- url: /.* | ||
script: static.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters