Checking if the Apache Configuration File is Correct - CentOS7

To check if the Apache configuration file is correct in CentOS7, use the apachectl command "configtest".

# Check if the Apache configuration file is correct
apachectl configtest

Associated Information