2.2.11 Disable Apache services - Make sure that /etc/apache/httpd.conf does not exist. Note this check is only applicable for Apache 1.x

Information

Level: 1

Solution

To disable Apache, run the appropriate command for the version installed-

Apache 1.x-

/etc/init.d/apache stop # mv /etc/apache/httpd.conf /etc/apache/httpd.conf.CIS

Apache 2.x-

svcadm disable svc:/network/http:apache2

See Also

https://benchmarks.cisecurity.org/tools2/solaris/CIS_Oracle_Solaris_10_Benchmark_v5.2.0.pdf

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7

Plugin: Unix

Control ID: 8089c229685a1b836d23b34df5f1cc67ea34663fc745f48da7a2e42d4af9925e