inspec/test/unit/mock/files/httpd.conf
Carl Johnston 3bdf1563e8 Added unit tests for apache_conf inclusion of symlinked files.
Same test added to both Ubuntu and Centos for consistency.

Signed-off-by: Carl Johnston <carldjohnston@gmail.com>
2017-02-24 16:13:22 +11:00

30 lines
939 B
ApacheConf

# This is the main Apache server configuration file. It contains comments.
ServerRoot "/etc/httpd"
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group #-1 on these systems!
#
User apache
Group apache
# Load config files from the config directory "/etc/httpd/conf.d".
#
Include conf.d/*.conf
# Load config files using an absolute path
#
Include /etc/httpd/mods-enabled/*.conf
Include /etc/httpd/conf-enabled/*.conf
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>