packstack – httpd.conf

[root@XYZ httpd]# more /etc/httpd/conf/httpd.conf
# Security
ServerTokens OS
ServerSignature On
TraceEnable On

ServerName “XYZ”
ServerRoot “/etc/httpd”
PidFile run/httpd.pid
Timeout 120
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

User apache
Group apache

AccessFileName .htaccess
<FilesMatch “^\.ht”>
    Require all denied
</FilesMatch>

<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

HostnameLookups Off
ErrorLog “/var/log/httpd/error_log”
LogLevel warn
EnableSendfile On

#Listen 80

Include “/etc/httpd/conf.d/*.load”
Include “/etc/httpd/conf/ports.conf”

LogFormat “%h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\”” combined
LogFormat “%h %l %u %t \”%r\” %>s %b” common
LogFormat “%{Referer}i -> %U” referer
LogFormat “%{User-agent}i” agent

IncludeOptional “/etc/httpd/conf.d/*.conf”

[root@XYZ httpd]#