null+****@clear*****
null+****@clear*****
2012年 6月 21日 (木) 17:59:00 JST
Ryo Onodera 2012-06-21 17:59:00 +0900 (Thu, 21 Jun 2012) New Revision: aad4d4605b90d11e585e911c31924e62e5c96e5f https://github.com/groonga/groonga/commit/aad4d4605b90d11e585e911c31924e62e5c96e5f Log: httpd: add initial document for groonga-httpd Added files: doc/source/executables/groonga-httpd.txt Added: doc/source/executables/groonga-httpd.txt (+50 -0) 100644 =================================================================== --- /dev/null +++ doc/source/executables/groonga-httpd.txt 2012-06-21 17:59:00 +0900 (f0c2de4) @@ -0,0 +1,50 @@ +.. -*- rst -*- + +.. highlightlang:: none + +groonga-httpd +============= + +Summary +------- + +groonga-httpd is an HTTP groonga server. It functions as same as groonga-http. +The difference is that groonga-httpd processes HTTP requests by embedded nginx. +On the other hand, groonga-http does by a minimal built-in HTTP server. All +standards-compilicance and features provided by nginx is also available in +groonga-httpd. For details about nginx, see http://www.nginx.org/ + +groonga-httpdにはHTML + JavaScriptで実装された管理ツールが標準で付属しています。ウェブブラウザでhttp://hostname:port/にアクセスすると、管理ツールを利用できます。 + +Synopsis +-------- + + groonga-httpd [nginx options] + +Usage +----- + +First, you'll need to edit the configuration file for groonga-httpd to specify +database. Edit /etc/groonga/httpd/groonga-httpd.conf to enable +groonga_database directive like this: + + location /d/ { + groonga; + groonga_database /var/lib/groonga/db/db; # <= Specify actual database and + # enable this directive + } + +Then, execute groonga-httpd + + % groonga-http + +To check, request a simple query. + + % curl http://localhost:10041/d/status + +Also, you can browse Web-based adiministration tool at http://localhost:10041/. + +Configuration directives +------------------------ + +(wip...) -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download