You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Marcello Nuccio <ma...@gmail.com> on 2011/06/14 09:44:08 UTC

authentication_redirect does not work on CouchDB 1.1

I have a password protected database.
In CouchDB 1.0.2 accessing the database with the browser I am
redirected to the page in

    [couch_httpd_auth]
    authentication_redirect = /some/url

In CouchDB 1.1.0 I get "401 Unauthorized" with the following message
in the body:

    {"error":"unauthorized","reason":"You are not authorized to access
this db."}

and NO redirection.

Is this feature changed from 1.0.2 to 1.1.0?

The CouchDB 1.1.0 is a clean installation on a different folder,
compiled from sources.

Thanks,
  Marcello