Home > Archive >  2008 >  November >  22


A Windows app to shut down Apache?

Saturday, November 22, 2008 by Dave Winer.

I need an app I can launch from a script that reliably shuts down Apache. Pretty sure I can relaunch it without too much trouble. I don't care what language as long as its an exe I can just run. I can try to debug a pair of batch scripts but that approach always takes a few hours for me.  Permalink to this paragraph

I need to do it for a couple of reasons... Permalink to this paragraph

1. I want to change some of Apache's conf files and have the changes reflected. Permalink to this paragraph

2. I want to rollover the log files and have to do it when Apache is not running. Permalink to this paragraph

There may be some other reasons to want to temporarily shut down Apache under code control. Permalink to this paragraph

I posted a tweet about this and got back a ton of questions, so I realized that I'd better put up a blog post. With 13K-plus followers most of them can't see each other so my responses would make no sense to most of them, then I get questions asking me to explain what I'm responding to, and you can see this quickly cascades out of control (one of the reasons I say Twitter is no good for conversation, of course y'll all flame me for that one heh). Permalink to this paragraph




     

Recent stories:



A picture named dave.jpgDave Winer, 53, pioneered the development of weblogs, syndication (RSS), podcasting, outlining, and web content management software; former contributing editor at Wired Magazine, research fellow at Harvard Law School, entrepreneur, and investor in web media companies. A native New Yorker, he received a Master's in Computer Science from the University of Wisconsin, a Bachelor's in Mathematics from Tulane University and currently lives in Berkeley, California.

"The protoblogger." - NY Times.

"The father of modern-day content distribution." - PC World.

One of BusinessWeek's 25 Most Influential People on the Web.

"Helped popularize blogging, podcasting and RSS." - Time.

"The father of blogging and RSS." - BBC.

"RSS was born in 1997 out of the confluence of Dave Winer's 'Really Simple Syndication' technology, used to push out blog updates, and Netscape's 'Rich Site Summary', which allowed users to create custom Netscape home pages with regularly updated data flows." - Tim O'Reilly.

Dave Winer Mailto icon


My most recent trivia on Twitter.



© Copyright 1994-2008 Dave Winer Mailto icon.

Last update: 12/16/2008; 5:22:12 PM Pacific. "It's even worse than it appears."

Click here to view blogs commenting on  RSS 2.0 feed.