When I read tutorial on how to create /add virtual hosts, the last sentence is always something like:
... now restart apache and you are done!
Now, many (most|all) web hosts have a panel that allow you to create new virtual hosts which are activated almost instantly... and I am sure they didn't restart apache (inconveniencing hundreds of other users) just for my pleasure!
So how to change apache settings / adding virtual hosts, etc. and reloading the new settings without actually restarting the apache server?
force-reloadrather thanreload. – raphink Aug 28 '10 at 16:11service httpd configtest
before your reload - it won't get all config errors, but it catches some.
– Jason Tan Aug 28 '10 at 19:01apache2ctl graceful. – EEAA Aug 29 '10 at 00:06