<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
<!-- $LastChangedRevision: 151405 $ -->

<!--
 Copyright 2002-2005 The Apache Software Foundation or its licensors, as
 applicable.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<modulesynopsis metafile="mod_suexec.xml.meta">

<name>mod_suexec</name>
<description>Allows CGI scripts to run as a specified user
and Group</description>
<status>Extension</status>
<sourcefile>mod_suexec.c</sourcefile>
<identifier>suexec_module</identifier>
<compatibility>Available in Apache 2.0 and later</compatibility>


<summary>
    <p>This module, in combination with the <program>
    suexec</program> support program allows
    CGI scripts to run as a specified user and Group.</p>
</summary>

<seealso><a href="../suexec.html">SuEXEC support</a></seealso>

<directivesynopsis>

<name>SuexecUserGroup</name>
<description>User and group permissions for CGI programs</description>
<syntax>SuexecUserGroup <em>User Group</em></syntax>
<contextlist><context>server config</context>
<context>virtual host</context></contextlist>
<compatibility>SuexecUserGroup is only available in 2.0 and
later.</compatibility>

<usage>
    <p>The <directive>SuexecUserGroup</directive> directive allows you
    to specify a user and group for CGI programs to run as. Non-CGI
    requests are still processes with the user specified in the User
    directive. This directive replaces the Apache 1.3 configuration of
    using the User and Group directives inside of VirtualHosts.</p>

    <example>
    <title>Example</title>
    SuexecUserGroup nobody nogroup
    </example>

</usage>

</directivesynopsis>
</modulesynopsis>

