Restarting Apache via a script
Hi There,
We have a custom apache configuration front-end that we have built, it
allows our wholesale customers to add/edit/delete hosts etc... The
standard thing. We then have a cron task that looks for any
additions/updates etc and executes some scripts like building dir
structures, writing apache conf filese etc...
How do you get around the fact that *sometimes* if there are any errors
within the conf files, a "apache2ctl -t" outputs "Syntax OK", but if you
do a real restart, apache fails to start for xx reason...
Is there a way to TRULY check if there is any issues with the configuration?
Simon
Reply to: