Check apache config files' syntax

Posted Almost 13 years ago. Visible to the public.

To check your apache2 config files for syntax errors run

sudo apache2ctl configtest

or shorter

sudo apache2ctl -t

Be aware that this does not guarantee a successful Apache startup. It may still fail due to permission errors, etc.

Last edit
Over 11 years ago
License
Source code in this card is licensed under the MIT License.
Posted to makandra dev (2011-06-07 12:41)