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

<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You 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 for CGI programs to run as</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 processed with the user specified in the <directive
    module="mpm_common">User</directive> directive. This directive replaces
    the Apache 1.3 configuration of using the <code>User</code> and
    <code>Group</code> directives inside of VirtualHosts.</p>

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

</usage>

</directivesynopsis>
</modulesynopsis>

