null+****@clear*****
null+****@clear*****
2012年 6月 21日 (木) 18:39:41 JST
Ryo Onodera 2012-06-21 18:39:41 +0900 (Thu, 21 Jun 2012) New Revision: 9a1d58016080d1357a28c6c78e3b4556029d3cef https://github.com/groonga/groonga/commit/9a1d58016080d1357a28c6c78e3b4556029d3cef Log: [doc] fix rst style Modified files: doc/source/executables/groonga-httpd.txt Modified: doc/source/executables/groonga-httpd.txt (+13 -11) =================================================================== --- doc/source/executables/groonga-httpd.txt 2012-06-21 18:33:52 +0900 (f21968d) +++ doc/source/executables/groonga-httpd.txt 2012-06-21 18:39:41 +0900 (c790262) @@ -19,6 +19,8 @@ groonga-httpdにはHTML + JavaScriptで実装された管理ツールが標準 Synopsis -------- +:: + groonga-httpd [nginx options] Usage @@ -26,22 +28,22 @@ 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 - } +groonga_database directive like this:: -Then, execute groonga-httpd + location /d/ { + groonga; + groonga_database /var/lib/groonga/db/db; # <= Specify actual database and + # enable this directive + } - % groonga-http +Then, execute groonga-httpd:: -To check, request a simple query. + % groonga-http - % curl http://localhost:10041/d/status +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 -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B... Descargar