You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Daniel Lopez <da...@rawbyte.com> on 2001/12/29 13:59:38 UTC

[daniel@rawbyte.com: Patch for per child MPM]

Hi,

Can someone with commit access have a look at the patch and
apply or comment on it. 

----- Forwarded message from Daniel Lopez <da...@rawbyte.com> -----

Date: Fri, 21 Dec 2001 16:34:52 -0800
From: Daniel Lopez <da...@rawbyte.com>
To: docs@httpd.apache.org
Subject: Patch for per child MPM
X-Mailer: Mutt 1.0.1i


There was some missing information, I attach a patch. Let me know if I
followed the conventions correctly.

Cheers

Daniel


Index: perchild.html
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/manual/mod/perchild.html,v
retrieving revision 1.6
diff -u -r1.6 perchild.html
--- perchild.html	2001/09/22 19:36:01	1.6
+++ perchild.html	2001/12/22 00:27:25
@@ -136,24 +136,27 @@
     directive</a></h2>
 
     <p><a href="directive-dict.html#Syntax"
-    rel="Help"><strong>Syntax:</strong></a><br />
+    rel="Help"><strong>Syntax:</strong></a>AssignUserID <em>user_id</em> <em>group_id</em><br />
      <a href="directive-dict.html#Default"
     rel="Help"><strong>Default:</strong></a><br />
      <a href="directive-dict.html#Context"
-    rel="Help"><strong>Context:</strong></a> server config<br />
+    rel="Help"><strong>Context:</strong></a> virtual host<br />
      <a href="directive-dict.html#Status"
     rel="Help"><strong>Status:</strong></a> MPM<br />
      <a href="directive-dict.html#Module"
     rel="Help"><strong>Module:</strong></a> perchild</p>
 
-    <p>Tie a virtual host to a specific child process.</p>
+    <p>Tie a virtual host to a specific child process. Requests addressed to
+the virtual host where this directive appears will be served by the process
+running with the specified user and group id.</p>
     <hr />
 
     <h2><a id="childperuserid" name="childperuserid">ChildPerUserID
     directive</a></h2>
 
     <p><a href="directive-dict.html#Syntax"
-    rel="Help"><strong>Syntax:</strong></a><br />
+    rel="Help"><strong>Syntax:</strong></a>ChildPerUserID <em>user_id</em>
+<em>group_id</em> <em>child_id</em><br />
      <a href="directive-dict.html#Default"
     rel="Help"><strong>Default:</strong></a><br />
      <a href="directive-dict.html#Context"
@@ -163,7 +166,14 @@
      <a href="directive-dict.html#Module"
     rel="Help"><strong>Module:</strong></a> perchild</p>
 
-    <p>Specify a User and Group for a specific child process.</p>
+    <p>Specify a user id and group id for a specific child process. The number of
+children if set by the <a href="mpm_common.html#numservers">NumServers</a>
+directive. For example, the default value for <a
+href="mpm_common.html#numservers">NumServers</a> is 5 and that means
+children ids 1,2,3,4 and 5 are available for assigment. If a child does not
+have an associated ChildPerUserID, it inherits the <a
+href="mpm_common.html#user">User</a> and <a
+href="mpm_common.html#group">Group</a> settings from the main server </p> 
     <!--#include virtual="footer.html" -->
   </body>
 </html>


----- End forwarded message -----

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [daniel@rawbyte.com: Patch for per child MPM]

Posted by Rich Bowen <rb...@rcbowen.com>.
On Sat, 29 Dec 2001, Daniel Lopez wrote:

>
> Hi,
>
> Can someone with commit access have a look at the patch and
> apply or comment on it.

Looks like someone beat me to it.

>
> ----- Forwarded message from Daniel Lopez <da...@rawbyte.com> -----
>
> Date: Fri, 21 Dec 2001 16:34:52 -0800
> From: Daniel Lopez <da...@rawbyte.com>
> To: docs@httpd.apache.org
> Subject: Patch for per child MPM
> X-Mailer: Mutt 1.0.1i
>
>
> There was some missing information, I attach a patch. Let me know if I
> followed the conventions correctly.
>
> Cheers
>
> Daniel
>
>
> Index: perchild.html
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/docs/manual/mod/perchild.html,v
> retrieving revision 1.6
> diff -u -r1.6 perchild.html
> --- perchild.html	2001/09/22 19:36:01	1.6
> +++ perchild.html	2001/12/22 00:27:25
> @@ -136,24 +136,27 @@
>      directive</a></h2>
>
>      <p><a href="directive-dict.html#Syntax"
> -    rel="Help"><strong>Syntax:</strong></a><br />
> +    rel="Help"><strong>Syntax:</strong></a>AssignUserID <em>user_id</em> <em>group_id</em><br />
>       <a href="directive-dict.html#Default"
>      rel="Help"><strong>Default:</strong></a><br />
>       <a href="directive-dict.html#Context"
> -    rel="Help"><strong>Context:</strong></a> server config<br />
> +    rel="Help"><strong>Context:</strong></a> virtual host<br />
>       <a href="directive-dict.html#Status"
>      rel="Help"><strong>Status:</strong></a> MPM<br />
>       <a href="directive-dict.html#Module"
>      rel="Help"><strong>Module:</strong></a> perchild</p>
>
> -    <p>Tie a virtual host to a specific child process.</p>
> +    <p>Tie a virtual host to a specific child process. Requests addressed to
> +the virtual host where this directive appears will be served by the process
> +running with the specified user and group id.</p>
>      <hr />
>
>      <h2><a id="childperuserid" name="childperuserid">ChildPerUserID
>      directive</a></h2>
>
>      <p><a href="directive-dict.html#Syntax"
> -    rel="Help"><strong>Syntax:</strong></a><br />
> +    rel="Help"><strong>Syntax:</strong></a>ChildPerUserID <em>user_id</em>
> +<em>group_id</em> <em>child_id</em><br />
>       <a href="directive-dict.html#Default"
>      rel="Help"><strong>Default:</strong></a><br />
>       <a href="directive-dict.html#Context"
> @@ -163,7 +166,14 @@
>       <a href="directive-dict.html#Module"
>      rel="Help"><strong>Module:</strong></a> perchild</p>
>
> -    <p>Specify a User and Group for a specific child process.</p>
> +    <p>Specify a user id and group id for a specific child process. The number of
> +children if set by the <a href="mpm_common.html#numservers">NumServers</a>
> +directive. For example, the default value for <a
> +href="mpm_common.html#numservers">NumServers</a> is 5 and that means
> +children ids 1,2,3,4 and 5 are available for assigment. If a child does not
> +have an associated ChildPerUserID, it inherits the <a
> +href="mpm_common.html#user">User</a> and <a
> +href="mpm_common.html#group">Group</a> settings from the main server </p>
>      <!--#include virtual="footer.html" -->
>    </body>
>  </html>
>
>
> ----- End forwarded message -----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
> For additional commands, e-mail: docs-help@httpd.apache.org
>
>
>

-- 
Rich Bowen - rbowen@rcbowen.com
Author - Apache Server Unleashed - http://www.apacheunleashed.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org