incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Westreicher Bakk.techn." <st...@meredrica.org>
Subject Re: Disabling doc include
Date Thu, 02 Jan 2014 19:29:46 GMT
I was referring to Apache / nginx vhost. But I did not know this issue , good to know for the
future.

Jan Lehnardt <jan@apache.org> wrote:
>
>On 01 Jan 2014, at 23:32 , Stanley Iriele <siriele2x3@gmail.com> wrote:
>
>> Can't you just use vhosts and rewrites to take care of that?...
>Also...you
>> could use list functions to ad an extra step yo do anything you want
>with
>> the results of a view before sending it to a client
>
>vhosts are using the `Host` header in HTTP requests. While mandatory in
>HTTP 1.1, CouchDB will happily answer to HTTP 1.0 requests without a
>`Host`
>header and will serve the default `/` URL and any subsequent one.
>
>Do not use CouchDB vhosts as a security mechanism.
>
>Best
>Jan

-- 
Sent from Kaiten Mail. Please excuse my brevity.

Mime
View raw message