You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Jens Alfke <je...@couchbase.com> on 2012/05/13 20:47:38 UTC

"WWW-Authenticate" config option keeps getting lowercased

I’m trying to enable correct HTTP auth in my CouchDB by adding the option:
	[httpd]
	WWW-Authenticate = Basic

If I add this using Futon it works … but then it stops working after the server is restarted. Looking at the .ini file on disk, the option got written out with the name lowercased:
	www-authenticate = Basic
I’ve tried several times to edit the config file (after shutting down the server) and fixing the capitalization, but it keeps getting reset to lowercase every time the server starts.

Is this a known issue? Is it something that’s been fixed recently? My server is out of date but I’m having trouble installing 1.2 (see prior thread.)

—Jens

Re: "WWW-Authenticate" config option keeps getting lowercased

Posted by CGS <cg...@gmail.com>.
I think this is a question for devs. I added the devs mail list in CC (even
if many are following also this mail list).

Nevertheless, the answer can be found by searching in JIRA (if no answer
from devs is coming). If it doesn't exist in JIRA, you can open a ticket.
But I would give it some time for a dev to answer.

Sorry, I cannot help more here.

CGS




On Sun, May 13, 2012 at 8:47 PM, Jens Alfke <je...@couchbase.com> wrote:

> I’m trying to enable correct HTTP auth in my CouchDB by adding the option:
>        [httpd]
>        WWW-Authenticate = Basic
>
> If I add this using Futon it works … but then it stops working after the
> server is restarted. Looking at the .ini file on disk, the option got
> written out with the name lowercased:
>        www-authenticate = Basic
> I’ve tried several times to edit the config file (after shutting down the
> server) and fixing the capitalization, but it keeps getting reset to
> lowercase every time the server starts.
>
> Is this a known issue? Is it something that’s been fixed recently? My
> server is out of date but I’m having trouble installing 1.2 (see prior
> thread.)
>
> —Jens

Re: "WWW-Authenticate" config option keeps getting lowercased

Posted by CGS <cg...@gmail.com>.
I think this is a question for devs. I added the devs mail list in CC (even
if many are following also this mail list).

Nevertheless, the answer can be found by searching in JIRA (if no answer
from devs is coming). If it doesn't exist in JIRA, you can open a ticket.
But I would give it some time for a dev to answer.

Sorry, I cannot help more here.

CGS




On Sun, May 13, 2012 at 8:47 PM, Jens Alfke <je...@couchbase.com> wrote:

> I’m trying to enable correct HTTP auth in my CouchDB by adding the option:
>        [httpd]
>        WWW-Authenticate = Basic
>
> If I add this using Futon it works … but then it stops working after the
> server is restarted. Looking at the .ini file on disk, the option got
> written out with the name lowercased:
>        www-authenticate = Basic
> I’ve tried several times to edit the config file (after shutting down the
> server) and fixing the capitalization, but it keeps getting reset to
> lowercase every time the server starts.
>
> Is this a known issue? Is it something that’s been fixed recently? My
> server is out of date but I’m having trouble installing 1.2 (see prior
> thread.)
>
> —Jens

Re: "WWW-Authenticate" config option keeps getting lowercased

Posted by Marcello Nuccio <ma...@gmail.com>.
I have
    [httpd]
    WWW-Authenticate = Basic realm="administrator"

and it works for me. Can you try to add the "realm"?

HTH,
  Marcello

2012/5/13 Jens Alfke <je...@couchbase.com>:
> I’m trying to enable correct HTTP auth in my CouchDB by adding the option:
>        [httpd]
>        WWW-Authenticate = Basic
>
> If I add this using Futon it works … but then it stops working after the server is restarted. Looking at the .ini file on disk, the option got written out with the name lowercased:
>        www-authenticate = Basic
> I’ve tried several times to edit the config file (after shutting down the server) and fixing the capitalization, but it keeps getting reset to lowercase every time the server starts.
>
> Is this a known issue? Is it something that’s been fixed recently? My server is out of date but I’m having trouble installing 1.2 (see prior thread.)
>
> —Jens