Menu
Create Custom Side Menus
Frodo's Ghost | Test your Apache Configuration
30
post-template-default,single,single-post,postid-30,single-format-standard,eltd-core-1.0.1,ajax_fade,page_not_loaded,,borderland - frodosghost-child-ver-1.0.0,borderland-ver-1.2, vertical_menu_with_scroll,smooth_scroll,side_menu_slide_with_content,width_470,paspartu_enabled,paspartu_on_bottom_fixed,wpb-js-composer js-comp-ver-4.4.4,vc_responsive

Test your Apache Configuration

We have all done it before. Changed the vhosts configuration, left a spelling mistake, and restarted the server, only to have everything die. So I don’t forget, here is how to test.

Mac OSX

[bash]apachectl configtest[/bash]

XAMPP on OSX

[bash]/Applications/XAMPP/xamppfiles/bin/apachectl configtest[/bash]

Windows

[bash]cd xampp/apache/bin/[/bash]

[bash]httpd.exe -t[/bash]

You can also use -S instead of configtest or instead of -t (on windows) to display the VirtualHost Configuration, which can be handy. Although most of the Warnings that may stop Apache from coming up will be in the configtest.

james
No Comments

Post a Comment