Re: Cfexecute and restart of apache...

2007-09-26 Thread Ryan Stille
When I needed to do this, I wrote out a "restart request" file in a certain directory. Then had a job run from crontab every 1 or 5 minutes or whatever, that if it found a restart request file, it would (as root) restart the webserver, and remove the restart request file. I think you may have

Re: Cfexecute and restart of apache...

2007-09-25 Thread James Holmes
You don't have a timeout attribute on that tag. Regardless, shutting down the webserver from which you're getting a request result is probably going to lead to strange results. Also, I'd recommend doing a graceful rather than a restart - there's no need to completely shutdown Apache to pick up con

Cfexecute and restart of apache...

2007-09-25 Thread Douglas Hyde
I am new to CFEXECUTE. I am trying to use cfexecute to restart apache2.2 on max OSX (unix file structure) when a new virtual host is added or when the aliases are updated within a host (eg, new directories are added that must be aliased). Apache doesn't recognize these changes until restart. So I h