Differences between revisions 3 and 4
Revision 3 as of 2009-04-17 14:43:39
Size: 519
Editor: 160
Comment:
Revision 4 as of 2009-09-20 21:44:56
Size: 521
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
For more advanced modifications to url handling see [http://medevyoujane.com/blog/2009/4/10/power-couchdb-basic-http-handlers.html power http handling]. For more advanced modifications to url handling see [[http://medevyoujane.com/blog/2009/4/10/power-couchdb-basic-http-handlers.html|power http handling]].

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 power http handling.