mod_suexec - Apache HTTP Server Version 2.4

Apache HTTP Server Version 2.4

Apache > HTTP Server > Documentation > Version 2.4 > Modules

# Apache Module mod_suexec

Available Languages: en | fr | ja | ko | tr

Description: | Allows CGI scripts to run as a specified user and Group
Status: | Extension
Module Identifier: | suexec_module
Source File: | mod_suexec.c

### Summary

This module, in combination with the `suexec` support program allows CGI scripts to run as a specified user and Group.

### Directives

### Bugfix checklist

- httpd changelog
- Known issues
- Report a bug

### See also

- SuEXEC support
- Comments

## SuexecUserGroup Directive

Description: | User and group for CGI programs to run as
Syntax: | `SuexecUserGroup User Group`
Context: | server config, virtual host
Status: | Extension
Module: | mod_suexec

The `SuexecUserGroup` 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 `User` directive.

### Example

    SuexecUserGroup nobody nogroup

Startup will fail if this directive is specified but the suEXEC feature is disabled.

### See also

- `Suexec`

Available Languages: en | fr | ja | ko | tr

## Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.