From e4cfd7e0c13367acf75c926d9e227e65972b8f8a Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Fri, 19 Feb 2010 19:07:43 +0000 Subject: Add virtual host handling. ; To enable Virtual Hosts in CouchDB, add a vhost = path directive. All requests to ; the Virual Host will be redirected to the path. In the example below all requests ; to http://example.com/ are redirected to /database. ; If you run CouchDB on a specific port, include the port number in the vhost: ; example.com:5984 = /database [vhosts] ;example.com = /database/ git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@911935 13f79535-47bb-0310-9956-ffa450edef68 --- etc/couchdb/local.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'etc/couchdb/local.ini') diff --git a/etc/couchdb/local.ini b/etc/couchdb/local.ini index 96fcdc76..7399f156 100644 --- a/etc/couchdb/local.ini +++ b/etc/couchdb/local.ini @@ -16,6 +16,16 @@ [log] ;level = debug + +; To enable Virtual Hosts in CouchDB, add a vhost = path directive. All requests to +; the Virual Host will be redirected to the path. In the example below all requests +; to http://example.com/ are redirected to /database. +; If you run CouchDB on a specific port, include the port number in the vhost: +; example.com:5984 = /database + +[vhosts] +;example.com = /database/ + [update_notification] ;unique notifier name=/full/path/to/exe -with "cmd line arg" -- cgit v1.2.3