Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2009-09-20 21:44:56
Size: 521
Editor: localhost
Comment: converted to 1.6 markup
Revision 6 as of 2018-12-17 23:48:18
Size: 0
Editor: JoanTouzet
Comment: Deprecated functionality for security reasons, see http://docs.couchdb.org/en/latest/cve/2018-17188.html and http://docs.couchdb.org/en/latest/whatsnew/2.3.html
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
To change the default request page, edit your local.ini file adding a section like:
{{{
[httpd_global_handlers]
/ = {couch_httpd, send_redirect, "/blogdb/_design/sofa/_list/index/recent-posts?descending=true&limit=5"}

}}}

When you goto http://127.0.0.1:5984/ instead of the usual version information, it will redirect to the page you specified.

----

For more advanced modifications to url handling see [[http://medevyoujane.com/blog/2009/4/10/power-couchdb-basic-http-handlers.html|power http handling]].