Group Directive

Top - Docs - General - Server - Resource - Access - FAQ - Tutorials

Purpose

The Group directive sets which group id the server will answer requests as.

In order to use this directive, the standalone server must be initially run as root.

This directive does not mean that the original daemon process will run as the given group, it means that the children which answer requests run as the given group.

This directive is only applicable if you are using a ServerType of standalone.


Syntax

Group id

id is one of:

Some systems require that this id must be a valid group found in /etc/group, or else a runtime server error will occur.

HPUX Systems cannot use nobody as a valid group.


Virtual Host

Because of security limitations of the Unix(TM) security model, this directive can only be set once for the entire server.


Default

If you do not specify a Group, HTTPd assumes:

Group #-1

Compile Option: DEFAULT_GROUP


Examples

Group nogroup

This will cause the server to run as group nogroup.

Group #65536

This will cause the server to run as group number 65536.


Return to Server Configuration File Overview
NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / 10-02-95