myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [2981] Documentation for the `PROCESS_SERVER' directiv


From: Giuseppe Scrivano
Subject: [myserver-commit] [2981] Documentation for the `PROCESS_SERVER' directive.
Date: Sat, 10 Jan 2009 15:39:53 +0000

Revision: 2981
          http://svn.sv.gnu.org/viewvc/?view=rev&root=myserver&revision=2981
Author:   gscrivano
Date:     2009-01-10 15:39:52 +0000 (Sat, 10 Jan 2009)

Log Message:
-----------
Documentation for the `PROCESS_SERVER' directive.

Modified Paths:
--------------
    trunk/myserver/documentation/process_security.texi

Modified: trunk/myserver/documentation/process_security.texi
===================================================================
--- trunk/myserver/documentation/process_security.texi  2008-12-26 22:30:20 UTC 
(rev 2980)
+++ trunk/myserver/documentation/process_security.texi  2009-01-10 15:39:52 UTC 
(rev 2981)
@@ -37,3 +37,34 @@
 active.
 
 It is enabled passing the @code{-f} switch to the myserver process.
+
address@hidden FastCGI/SCGI servers
+By default, FastCGI and SCGI servers are lazily initialized by
+MyServer on the first request to a resource that is handled trought
+these protocols.  In this case MyServer will initialize it using a
+random TCP port.
+There may be cases where a different configuration is needed and it is
+done using the @code{PROCESS_SERVER} directive inside the
address@hidden file.
+
+A @code{PROCESS_SERVER} entry makes it possible to access a specific
+FastCGI/SCGI configuration inside MIME types by its name.
+
+
address@hidden
+<PROCESS_SERVER>
+        <NAME>/opt/bin/fastcgi_server</NAME>
+        <DOMAIN>fastcgi</DOMAIN>
+        <HOST>localhost</HOST>
+        <PORT>2010</PORT>
+        <LOCAL>yes</LOCAL>
+</PROCESS_SERVER>
address@hidden example
+
+In the previous example a FastCGI server
address@hidden/opt/bin/fastcgi_server} is created.  The @code{domain} must be
+"fastcgi" or "scgi", depending on the protocol to use.
address@hidden specifies if the server is handled by myserver or it is
+already running, thus myserver will simply access and use it.  In this
+case @code{name} can be anything without any specific meaning.
+






reply via email to

[Prev in Thread] Current Thread [Next in Thread]