Check apache config files' syntax

Updated . Posted . 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.

Martin Straub
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Martin Straub to makandra dev (2011-06-07 12:41)