[ 
https://issues.apache.org/jira/browse/COUCHDB-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151001#comment-15151001
 ] 

Alexander Harm commented on COUCHDB-1479:
-----------------------------------------

This is the output of Apple's {{Instruments}} during CouchDB startup:

||Caller||Function||Executable||FD (return)||Path||FD (arg0)||
|iniparser_load|open_nocancel|Apache 
CouchDB|8|/Users/alexander/Library/Preferences/couchdb-server.ini| |
|__smakebuf|fstat64|Apache CouchDB| 
|/Users/alexander/Library/Preferences/couchdb-server.ini|8|
|iniparser_load|close_nocancel|Apache CouchDB| 
|/Users/alexander/Library/Preferences/couchdb-server.ini|8|
|-[Couchbase_ServerAppDelegate setInitParams]|open_nocancel|Apache 
CouchDB|8|/Users/alexander/Library/Preferences/couchdb-server.ini| |
|__smakebuf|fstat64|Apache CouchDB| 
|/Users/alexander/Library/Preferences/couchdb-server.ini|8|
|-[Couchbase_ServerAppDelegate setInitParams]|close_nocancel|Apache CouchDB| 
|/Users/alexander/Library/Preferences/couchdb-server.ini|8|
|invoke_read_file|stat64|beam.smp| 
|/Users/alexander/Library/Preferences/couchdb-server.ini| |

What kind of baffles me that {{Instruments}} does not record a read/write on 
the {{server.ini}} file.

> Futon config UI won't allow "WWW-Authenticate" option to be added (name is 
> lowercased)
> --------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-1479
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1479
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>         Environment: Mac OS X
>            Reporter: Jens Alfke
>            Priority: Minor
>
> When using the config UI in futon to add a new option, via the "Add a new 
> section..." link at the bottom of the page, the name of the option is 
> lowercased when written to the .ini file. (For some reason the case is 
> preserved when altering the runtime configuration, though, so the problem 
> doesn't manifest itself until the next time the server is restarted.)
> This causes trouble when attempting to enable HTTP basic auth by adding a 
> "WWW-Authenticate" option (value "Basic") to the [httpd] section. The actual 
> data written to the .ini file is:
>     [httpd]
>     www-authenticate = Basic
> which is not recognized when the server loads its configuration on restart.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to