summaryrefslogtreecommitdiff
path: root/etc/couchdb/default.ini.tpl.in
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2008-12-24 22:10:53 +0000
committerJohn Christopher Anderson <jchris@apache.org>2008-12-24 22:10:53 +0000
commit39fb8f339e7a0f19aa77e28d3ed131b786b618ce (patch)
tree14685c9d2bdcc3759e901c25aea2f06976890c85 /etc/couchdb/default.ini.tpl.in
parent85da5eb198a3365f5d03f290c86e091c459e7efd (diff)
I agree with Damien that action.js is more than we want to support right now. External is not activated by default, but remains available, see default.ini for details.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@729376 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'etc/couchdb/default.ini.tpl.in')
-rw-r--r--etc/couchdb/default.ini.tpl.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index a56e05bc..06fbee1f 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -21,8 +21,10 @@ level = info
[query_servers]
javascript = %bindir%/%couchjs_command_name% %localdatadir%/server/main.js
-[external]
-action = %bindir%/%couchjs_command_name% %localdatadir%/server/action.js
+; enable external as an httpd handler, then link it with commands here.
+; note, this api is still under consideration.
+; [external]
+; mykey = /path/to/mycommand
[daemons]
view_manager={couch_view, start_link, []}
@@ -45,10 +47,9 @@ _restart = {couch_httpd_misc_handlers, handle_restart_req}
[httpd_db_handlers]
_view = {couch_httpd_view, handle_view_req}
_temp_view = {couch_httpd_view, handle_temp_view_req}
-; The new location for action servers
-_action = {couch_httpd_external, handle_external_req, <<"action">>}
-; They'd been here for a while. If something you've been running breaks on you
-; try adding the next line to your local.ini. Or better yet replace
-; '_external/action' in your urls with '_action'.
-; This message will be removed before the next release.
+
+; The external module takes an optional argument allowing you to narrow it to a
+; single script. Otherwise the script name is inferred from the first path section
+; after _external's own path.
+; _mypath = {couch_httpd_external, handle_external_req, <<"mykey">>}
; _external = {couch_httpd_external, handle_external_req}