2011-08-31 65 views
2

我有一個CouchDB的,在一個非標準的端口,這是給我下運行:如何在couchdb中禁用/啓用被褥?

http://localhost:59876/_utils 

{"error":"illegal_database_name","reason":"Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (,), +, -, and/are allowed. Must begin with a letter."} 

這讓我發現,被褥被禁用。在配置文件中是否有任何設置可以讓我啓用(禁用)蒲團?

回答

0

這是不正常的。我不知道你是否有任何配置文件問題。應該有這樣的配置條目。

[httpd_global_handlers] 
_utils = {couch_httpd_misc_handlers, handle_utils_dir_req, "/usr/local/share/couchdb/www"} 

這就是告訴CouchDB的是_utils是一個確定的查詢,並將其窗臺服務蒲團。

相關問題