How to test the Apache configuration file httpd.conf
After making changes to the Apache configuration file, it is a good practice to test the configuration before implementing it.
To test the Apache configuration file for errors:
apachectl configtest
If the configuration file is fine, this command will return Syntax Ok. Otherwise, it will return detailed information about the error discovered.
If apachectl is not in your PATH and you don’t know where it is, refer to the recipe Find a file by name to find the location of apachectl, then run it with the fully qualified path, for example:
/usr/local/apache/bin/apachectl configtest
Possibly Related Posts:
- Linux local privilege escalation via SUID
- How to uninstall Vmware workstation v 8.0.0.471780.bundle
- Linux : Flash fullscreen doesn’t work on Ubuntu 10.10
- VCP Home LAB : Part -3
- VCP Home LAB – part-2
