-# $Id: apache-httpd.conf,v 1.58 2011/10/25 09:40:41 psz Exp $
#
# This is the main Apache HTTP server configuration file.
# It contains the configuration directives that give the server its instructions.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
-
ServerRoot "/etc/httpd"
-DefaultType text/plain
+
+LoadModule unixd_module modules/mod_unixd.so
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
TraceEnable Off
# Include other modules and packages config.
-Include conf.d/*.conf
+IncludeOptional conf.d/*.conf
# Include webapps config
-Include webapps.d/*.conf
+IncludeOptional webapps.d/*.conf
<IfModule alias_module>
# ScriptAlias: This controls which directories contain server scripts.
AllowOverride None
Options None
<IfModule mod_authz_host.c>
- Order allow,deny
- Allow from all
+ Require all granted
</IfModule>
</Directory>
</IfModule>
# See also the BindAddress entry.
# Setup default vhost (first one defined in config) and include vhosts configuration
-NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost
# ServerAdmin webmaster@host.example.com
# TransferLog logs/host.example.com-access_log
</VirtualHost>
-Include vhosts.d/*.conf
+IncludeOptional vhosts.d/*.conf