couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alux <>
Subject Futon: CocuhDB version display problem after changing "/"
Date Wed, 21 Jul 2010 09:45:27 GMT

I changed my CouchDB start page according to

i.e. I added the following to local.ini

/ = {couch_httpd, send_redirect,

Now http://localhost:5984/ gives the start page I want. Fine.

But when I work with Futon, there is no version at the bottom right anymore
("Futon on Apache CouchDB ?"), and the busy signal in the black upper panel
doesn't stop (white star rotating ad nauseam).

Well, I concluded that Futon uses the welcome message, so I made it
available again under a different name, by adding an additional entry in
local ini

/ = {couch_httpd, send_redirect,
_cdbwelcome = {couch_httpd_misc_handlers, handle_welcome_req, <<"Welcome">>}

Restart. Now the welcome message is available under

Then I tried to find out where this is needed. My hypothesis was changing
..\share\couchdb\www\script\couch.js as follows

CouchDB.getVersion = function() {
//  CouchDB.last_req = CouchDB.request("GET", "/");//original version
  CouchDB.last_req = CouchDB.request("GET", "/_cdbwelcome");//my version
  return JSON.parse(CouchDB.last_req.responseText).version;

Restart, but the problem stays. So thats not the solution.

Can anybody please help?
Thank you, alux

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message