Author: jchris
Date: Mon Jun 28 23:21:27 2010
New Revision: 958786
URL: http://svn.apache.org/viewvc?rev=958786&view=rev
Log:
preserve 0.11 behavior while making 1.0-style authentication redirects
configurable
Modified:
couchdb/branches/0.11.x/etc/couchdb/default.ini.tpl.in
couchdb/branches/0.11.x/etc/couchdb/local.ini
Modified: couchdb/branches/0.11.x/etc/couchdb/default.ini.tpl.in
URL:
http://svn.apache.org/viewvc/couchdb/branches/0.11.x/etc/couchdb/default.ini.tpl.in?rev=958786&r1=958785&r2=958786&view=diff
==============================================================================
--- couchdb/branches/0.11.x/etc/couchdb/default.ini.tpl.in (original)
+++ couchdb/branches/0.11.x/etc/couchdb/default.ini.tpl.in Mon Jun 28 23:21:27
2010
@@ -28,7 +28,7 @@ level = info
[couch_httpd_auth]
authentication_db = _users
-authentication_redirect = /_utils/session.html
+authentication_redirect =
require_valid_user = false
timeout = 600 ; number of seconds before automatic logout
Modified: couchdb/branches/0.11.x/etc/couchdb/local.ini
URL:
http://svn.apache.org/viewvc/couchdb/branches/0.11.x/etc/couchdb/local.ini?rev=958786&r1=958785&r2=958786&view=diff
==============================================================================
--- couchdb/branches/0.11.x/etc/couchdb/local.ini (original)
+++ couchdb/branches/0.11.x/etc/couchdb/local.ini Mon Jun 28 23:21:27 2010
@@ -16,6 +16,10 @@
[log]
;level = debug
+[couch_httpd_auth]
+; uncomment next line for 1.0-style user-friendly login redirects
+; authentication_redirect = /_utils/session.html
+
; To enable Virtual Hosts in CouchDB, add a vhost = path directive. All
requests to
; the Virual Host will be redirected to the path. In the example below all
requests