[Groonga-commit] groonga/groonga [master] httpd: update configuration example

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2012年 6月 28日 (木) 15:03:26 JST


Ryo Onodera	2012-06-28 15:03:26 +0900 (Thu, 28 Jun 2012)

  New Revision: 7f0f6b3df0be58f861ea1025ba3c9c26e53cdce3
  https://github.com/groonga/groonga/commit/7f0f6b3df0be58f861ea1025ba3c9c26e53cdce3

  Log:
    httpd: update configuration example
    
    Follow configuration file update by the following commit:
      fd0d748 httpd: add informative comments to conf file

  Modified files:
    doc/source/executables/groonga-httpd.txt

  Modified: doc/source/executables/groonga-httpd.txt (+14 -4)
===================================================================
--- doc/source/executables/groonga-httpd.txt    2012-06-28 14:56:29 +0900 (54abea1)
+++ doc/source/executables/groonga-httpd.txt    2012-06-28 15:03:26 +0900 (24b0ea0)
@@ -35,10 +35,20 @@ First, you'll need to edit the groonga-httpd configuration file to specify a
 database. Edit /etc/groonga/httpd/groonga-httpd.conf to enable the
 groonga_database directive like this::
 
-   location /d/ { # <= Don't change the location; currently only /d/ is supported.
-     groonga;     # <= This means to turn on groonga-httpd.
-     groonga_database /var/lib/groonga/db/db; # <= Specify an actual database and
-                                              #    enable this directive.
+   # Match this to the file owner of groonga database files if groonga-httpd is
+   # run as root.
+   #user groonga;
+   ...
+   http {
+     ...
+     # Don't change the location; currently only /d/ is supported.
+     location /d/ {
+       groonga; # <= This means to turn on groonga-httpd.
+
+       # Specify an actual database and enable this.
+       groonga_database /var/lib/groonga/db/db;
+     }
+     ...
    }
 
 Then, run groonga-httpd. Note that the control immediately returns back to the
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index