inspec/test/unit/mock/files/httpd.conf
David Pell 155995adfd In ApacheConf#include_files, check for abs paths
If the path is absolute, just use what was passed, otherwise build an
absolute path using `@conf_dir`.

Fixes #1013
2016-09-20 09:11:09 -04:00

29 lines
900 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
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>