The User
directive sets the user ID under
which the server will run when answering requests.
User unix-userid
Default: User #-1
Server config, virtual host
In order to use this directive, the standalone server must be run
initially as root.
unix-userid
is one of the following:
username
Refers to the given user by name
#usernumber
Refers to a user by his number
The user should have no privileges that allow access to files not
intended to be visible to the outside world; similarly, the user
should not be able to execute code that is not meant for
httpd requests. However, the user must have
access to certain things — the files it serves, for example, or
mod_proxy ’s cache, when
enabled (see the CacheRoot
directive in Chapter 9).