apache-formula/apache/files/RedHat/welcome.conf
karim Hamza 9662e8b4ab Feature (rhel7/httpd 2.4) : hardening apache and code refactoring (#251)
* Feature (rhel7/httpd 2.4) : hardening apache and code refactoring

* remove hard returns

* Add default Listen 80 in httpd.conf

In case there no vhosts defined in pillar httpd will listen on port 80.
 Without this default it will not start

* empty file autoindex.conf instead of deleting it

* explicit hardening items and references from CIS

* add #3.5 hardening rule

* explain CIS recommendations categories

* add dependencies before start service

* add recommendation #7.1 Install mod_ssl

* link in readme to hardening doc
2019-02-22 10:10:30 +01:00

16 lines
426 B
Plaintext

#
# This file is managed by Salt! Do not edit by hand!
#
# httpd welcome file commented for security reasons
# This configuration file enables the default ""Welcome""
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
##<LocationMatch ""^/+$"">
## Options -Indexes
## ErrorDocument 403 /error/noindex.html
##</LocationMatch>