mod_cgid.html revision 240a5b8962329911d02566b600be6226e1f857ae
39135a3e07243519dbe40a68e86a7ef524eb3f1bmfloryan<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
39135a3e07243519dbe40a68e86a7ef524eb3f1bmfloryanXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico This file is generated from xml source: DO NOT EDIT
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNicoXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico--><title>mod_cgid - Apache HTTP Server</title><link rel="stylesheet" type="text/css" href="/style/manual.css"/></head><body><blockquote><div align="center"><img src="/images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Apache Module mod_cgid</h1><table bgcolor="#cccccc" cellpadding="0" cellspacing="1"><tr><td><table bgcolor="#ffffff"><tr><td valign="top"><span class="help">Description:</span></td><td>Execution of CGI scripts using an
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico external CGI daemon</td></tr><tr><td><a class="help" href="module-dict.html#Status">Status:</a></td><td>Base</td></tr><tr><td><a class="help" href="module-dict.html#ModuleIdentifier">Module Identifier:</a></td><td>cgid_module</td></tr><tr><td valign="top" align="left"><a class="help" href="module-dict.html#Compatibility">Compatibility:</a></td><td><compatibility>Unix threaded MPMs only</compatibility></td></tr></table></td></tr></table><h2>Summary</h2>
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico <p>Except for the optimizations and the additional <a class="directive" href="#scriptsock"><code class="directive">ScriptSock</code></a> directive noted below,
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico mod_cgid behaves similarly to mod_cgi. <strong>See the
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico <code><a href="mod_cgi.html">mod_cgi</a></code> Summary for additional details about
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico <p>On certain unix operating systems, forking a process from a
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico multi-threaded server is a very expensive operation because the
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico new process will replicate all the threads of the parent
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico process. In order to avoid incurring this expense on each CGI
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico invocation, mod_cgid creates an external daemon that is
9b02f995ccbdbc8fe4cfde1e5a2af8f6d36e142aJazzyNico responsible for forking child processes to run CGI scripts. The
91cdc6c06e37ed5336e3e5f81dc8a6f39c07b500pjrm main server communicates with this daemon using a unix domain
<h2>Directives</h2><ul><li><a href="mod_cgi.html#scriptlog">ScriptLog</a></li><li><a href="mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</a></li><li><a href="mod_cgi.html#scriptloglength">ScriptLogLength</a></li><li><a href="#scriptsock">ScriptSock</a></li></ul><hr/><h2><a name="ScriptSock">ScriptSock</a> <a name="scriptsock">Directive</a></h2><table bgcolor="#cccccc" border="0" cellspacing="0" cellpadding="1"><tr><td><table bgcolor="#ffffff"><tr><td><strong>Description: </strong></td><td/></tr><tr><td><a class="help" href="directive-dict.html#Syntax">Syntax:</a></td><td>ScriptSock <em>file-path</em></td></tr><tr><td><a class="help" href="directive-dict.html#Default">Default:</a></td><td><code>ScriptSock logs/cgisock</code></td></tr><tr><td><a class="help" href="directive-dict.html#Context">Context:</a></td><td>server config</td></tr><tr><td><a class="help" href="directive-dict.html#Status">Status:</a></td><td>Base</td></tr><tr><td><a class="help" href="directive-dict.html#Module">Module:</a></td><td>mod_cgid</td></tr></table></td></tr></table>