in reply to restart apache web server from CGI script
If you're talking a dev machine, a cron job/some scheduled event in windows that will stop/start it if a certain file exists works fine for us here.
I certainly wouldn't trust this in production though... you're depending on the webserver running, to start the webserver. If startup fails, not only is the site down, but the ability to start it back up is down as well.
|
|---|