From 7226aaa459bc1b7c705d33fdb123b3b976552ff2 Mon Sep 17 00:00:00 2001 From: Andre Malo Date: Thu, 7 Nov 2002 03:34:36 +0000 Subject: [PATCH] - -> (hey, that was easy :)) - add some s - add s to suexec.html - add explicit from mod_cgid to mod_cgi - add short description of the ScriptSock directive -> update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97436 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_cgi.html.en | 2 +- docs/manual/mod/mod_cgi.xml | 1 + docs/manual/mod/mod_cgid.html.en | 17 +++++++++-------- docs/manual/mod/mod_cgid.xml | 17 +++++++++++------ docs/manual/mod/quickreference.html.en | 3 ++- 5 files changed, 24 insertions(+), 16 deletions(-) diff --git a/docs/manual/mod/mod_cgi.html.en b/docs/manual/mod/mod_cgi.html.en index 904ce40438b..aefdfb113b6 100644 --- a/docs/manual/mod/mod_cgi.html.en +++ b/docs/manual/mod/mod_cgi.html.en @@ -38,7 +38,7 @@
top
top

CGI Environment variables

The server will set the CGI environment variables as described in the CGI specification, with the following provisions:

diff --git a/docs/manual/mod/mod_cgi.xml b/docs/manual/mod/mod_cgi.xml index be372942119..6c1f5b2e568 100644 --- a/docs/manual/mod/mod_cgi.xml +++ b/docs/manual/mod/mod_cgi.xml @@ -44,6 +44,7 @@ Options ScriptAlias AddHandler +Running CGI programs under different user IDs CGI Specification
CGI Environment variables diff --git a/docs/manual/mod/mod_cgid.html.en b/docs/manual/mod/mod_cgid.html.en index bd8b2c9e0b2..fe45372e36d 100644 --- a/docs/manual/mod/mod_cgid.html.en +++ b/docs/manual/mod/mod_cgid.html.en @@ -12,15 +12,15 @@ mod_cgid.cCompatibility: Unix threaded MPMs only

Summary

Except for the optimizations and the additional ScriptSock directive noted below, - mod_cgid behaves similarly to mod_cgi. See the - mod_cgi Summary for additional details about - Apache and CGI.

+ mod_cgid behaves similarly to mod_cgi. + See the mod_cgi summary for additional details + about Apache and CGI.

On certain unix operating systems, forking a process from a multi-threaded server is a very expensive operation because the new process will replicate all the threads of the parent process. In order to avoid incurring this expense on each CGI - invocation, mod_cgid creates an external daemon that is + invocation, mod_cgid creates an external daemon that is responsible for forking child processes to run CGI scripts. The main server communicates with this daemon using a unix domain socket.

@@ -37,9 +37,10 @@
  • ScriptLogBuffer
  • ScriptLogLength
  • ScriptSock
  • -
    top

    ScriptSock Directive

    Description: -
    Syntax: - ScriptSock file-path
    Default: +

    See also

    top

    ScriptSock Directive

    - + -- 2.47.3
    Description: + The name of the socket to use for communication with +the cgi daemon
    Syntax: + ScriptSock file-path
    Default: ScriptSock logs/cgisock
    Context: server config, virtual host
    Status: Base
    Module: @@ -52,7 +53,7 @@ write in the directory where the socket is located.

    Example

    - ScriptSock /var/run/cgid.sock + ScriptSock /var/run/cgid.sock

    \ No newline at end of file diff --git a/docs/manual/mod/mod_cgid.xml b/docs/manual/mod/mod_cgid.xml index 23f3e5d10c7..fbfa1e10196 100644 --- a/docs/manual/mod/mod_cgid.xml +++ b/docs/manual/mod/mod_cgid.xml @@ -14,15 +14,15 @@

    Except for the optimizations and the additional ScriptSock directive noted below, - mod_cgid behaves similarly to mod_cgi. See the - mod_cgi Summary for additional details about - Apache and CGI.

    + mod_cgid behaves similarly to mod_cgi. + See the mod_cgi summary for additional details + about Apache and CGI.

    On certain unix operating systems, forking a process from a multi-threaded server is a very expensive operation because the new process will replicate all the threads of the parent process. In order to avoid incurring this expense on each CGI - invocation, mod_cgid creates an external daemon that is + invocation, mod_cgid creates an external daemon that is responsible for forking child processes to run CGI scripts. The main server communicates with this daemon using a unix domain socket.

    @@ -37,6 +37,9 @@ daemon.

    +mod_cgi +Running CGI programs under different user IDs + ScriptLog @@ -51,7 +54,9 @@ ScriptSock -ScriptSock file-path +The name of the socket to use for communication with +the cgi daemon +ScriptSock file-path ScriptSock logs/cgisock server config virtual host @@ -65,7 +70,7 @@ write in the directory where the socket is located.

    Example - ScriptSock /var/run/cgid.sock + ScriptSock /var/run/cgid.sock diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index 85edc49849e..7fbd33f3b8e 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -499,7 +499,8 @@ scripts
    ScriptLogBuffer bytes 1024 svB
    Maximum amount of PUT or POST requests that will be recorded in the scriptlog
    ScriptLogLength bytes 10385760 svB
    Size limit of the CGI script logfile
    ScriptSock file-path logs/cgisock svB
    -
    ScriptSock file-path logs/cgisock svB
    The name of the socket to use for communication with +the cgi daemon
    SendBufferSize bytessM
    TCP buffer size
    ServerAdmin email-addresssvC
    Email address that the server includes in error messages sent to the client