diff options
author | Damien F. Katz <damien@apache.org> | 2008-10-02 16:06:10 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2008-10-02 16:06:10 +0000 |
commit | 82d31aa2671ac3ffc7b1dbf4c6c9b6c38f0d9f2e (patch) | |
tree | 8dcc9c8b2100189ee41c4a657b90335a3c68f8fe /etc/couchdb | |
parent | f825477e9d9502d618aa1cb19bdced4df941e872 (diff) |
HTTPd refactoring. Moved most code out of couch_httpd into associated modules (couch_httpd_view, couch_httpd_db, couch_httpd_misc_handlers). Also a fix to removed previous doc_by_seq index entries on compaction retry.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@701173 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'etc/couchdb')
-rw-r--r-- | etc/couchdb/default.ini.tpl.in | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in index d369ee84..1e5f8fe1 100644 --- a/etc/couchdb/default.ini.tpl.in +++ b/etc/couchdb/default.ini.tpl.in @@ -11,7 +11,6 @@ view_timeout = 5000 ; 5 seconds [httpd] port = 5984 bind_address = 127.0.0.1 -utils_dir = %localdatadir%/www [log] file = %localstatelogdir%/couch.log @@ -26,3 +25,16 @@ db_update_notifier={couch_db_update_notifier_sup, start_link, []} full_text_query={couch_ft_query, start_link, []} query_servers={couch_query_servers, start_link, []} httpd={couch_httpd, start_link, []} + + +[httpd_global_handlers] +/ = {couch_httpd_misc_handlers, handle_welcome_req, <<"Welcome">>} +_utils = {couch_httpd_misc_handlers, handle_utils_dir_req, "%localdatadir%/www"} +_all_dbs = {couch_httpd_misc_handlers, handle_all_dbs_req} +_config = {couch_httpd_misc_handlers, handle_config_req} +_replicate = {couch_httpd_misc_handlers, handle_replicate_req} +_uuids = {couch_httpd_misc_handlers, handle_uuids_req} + +[httpd_db_handlers] +_view = {couch_httpd_view, handle_view_req} +_temp_view = {couch_httpd_view, handle_temp_view_req} |