summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-07-10 00:59:36 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-07-10 00:59:36 +0000
commit9ccb235a2d58d6b7caf406952f18ca13d9889f3e (patch)
tree9a0f6ac06d91d6bd70aee5d6f921665423139653 /etc
parent2f18f60fea5a1de6a221c6124038399c47d42aa2 (diff)
Apply patch from Benoit Chesneau's COUCHDB-404
Restores 0.8-style /db/_view view urls and adds an option to render views and documents as other formats like: /db/docid?show=blog/post /db/_view/blog/posts?list=index We're retaining the longer _design/appname paths as well because that resource is valuable for reverse proxies and rewriters. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@792771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'etc')
-rw-r--r--etc/couchdb/default.ini.tpl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index c4a87363..77a09fcb 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -68,6 +68,7 @@ _whoami = {couch_httpd_misc_handlers, handle_whoami_req}
_view_cleanup = {couch_httpd_db, handle_view_cleanup_req}
_compact = {couch_httpd_db, handle_compact_req}
_design = {couch_httpd_db, handle_design_req}
+_view = {couch_httpd_view, handle_db_view_req}
_temp_view = {couch_httpd_view, handle_temp_view_req}
_changes = {couch_httpd_db, handle_changes_req}