From 3a47f00a8b63905439639edf9f5307cb4819c7d5 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Tue, 23 Mar 2004 03:52:15 +0000 Subject: [PATCH] Mention that mod_userdir is required for suexec to work in user directories. PR: 25477 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103092 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/suexec.html.en | 23 +++++++++++++---------- docs/manual/suexec.xml | 24 ++++++++++++++---------- 2 files changed, 27 insertions(+), 20 deletions(-) diff --git a/docs/manual/suexec.html.en b/docs/manual/suexec.html.en index fc6b319ca7..00699582ae 100644 --- a/docs/manual/suexec.html.en +++ b/docs/manual/suexec.html.en @@ -528,6 +528,10 @@

Using suEXEC

+

Requests for CGI programs will call the suEXEC wrapper only if + they are for a virtual host containing a SuexecUserGroup directive or if + they are processed by mod_userdir.

+

Virtual Hosts:
One way to use the suEXEC wrapper is through the SuexecUserGroup directive in VirtualHost definitions. By @@ -537,16 +541,15 @@ directive is not specified for a <VirtualHost> then the main server userid is assumed.

-

User directories:
- The suEXEC wrapper can also be used to execute CGI programs as - the user to which the request is being directed. This is - accomplished by using the "~" - character prefixing the user ID for whom execution is desired. - The only requirement needed for this feature to work is for CGI - execution to be enabled for the user and that the script must - meet the scrutiny of the security checks - above.

-
top
+

User directories:
Requests that are + processed by mod_userdir will call the suEXEC + wrapper to execute CGI programs under the userid of the requested + user directory. The only requirement needed for this feature to + work is for CGI execution to be enabled for the user and that the + script must meet the scrutiny of the security + checks above. See also the + --with-suexec-userdir compile + time option.

top

Debugging suEXEC

diff --git a/docs/manual/suexec.xml b/docs/manual/suexec.xml index 7ede3249fe..9d41a33e34 100644 --- a/docs/manual/suexec.xml +++ b/docs/manual/suexec.xml @@ -517,6 +517,11 @@
Using suEXEC +

Requests for CGI programs will call the suEXEC wrapper only if + they are for a virtual host containing a SuexecUserGroup directive or if + they are processed by mod_userdir.

+

Virtual Hosts:
One way to use the suEXEC wrapper is through the SuexecUserGroup directive in @@ -529,16 +534,15 @@ type="section">VirtualHost then the main server userid is assumed.

-

User directories:
- The suEXEC wrapper can also be used to execute CGI programs as - the user to which the request is being directed. This is - accomplished by using the "~" - character prefixing the user ID for whom execution is desired. - The only requirement needed for this feature to work is for CGI - execution to be enabled for the user and that the script must - meet the scrutiny of the security checks - above.

-
+

User directories:
Requests that are + processed by mod_userdir will call the suEXEC + wrapper to execute CGI programs under the userid of the requested + user directory. The only requirement needed for this feature to + work is for CGI execution to be enabled for the user and that the + script must meet the scrutiny of the security + checks above. See also the + --with-suexec-userdir compile + time option.

Debugging suEXEC -- 2.50.1