couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Virtual_Hosts" by JanLehnardt
Date Wed, 23 Nov 2011 15:08:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Virtual_Hosts" page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/Virtual_Hosts?action=diff&rev1=1&rev2=2

Comment:
add ContributorGroup link

+ <<Include(EditTheWiki)>>
+ 
  CouchDB, since 0.11.0, can map requests to different locations based on the `Host` header.
This allows different virtual hosts on the same machine to map to different databases or design
documents, etc. The most common use case is to map a virtual host to a [[Rewriting_urls|Rewrite
Handler]], to provide full control over the application's URIs.
  
  To add a virtual host, add a CNAME pointer to the DNS for your domain name. For development
and testing, it is sufficient to add an entry in the hosts file (`/etc/hosts` on Unix-like
operating systems) pointing to 127.0.0.1.  For example: {{{

Mime
View raw message