How do I check for syntax errors in the configuration of my apache server without having to restart or reload the rules? This would be preferably done from the terminal/command line.
If syntax is ok:
sudo apache2ctl configtest
Will reply with:
Syntax OK
You can use this as well if you don't have httpd.
apachectl configtest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With