Restart server.
Posted by: Whiishu (---.customer.alfanett.no)
Date: January 17, 2006 11:37PM

Hi there :-)
I'm using a script which updates the httpd.conf-file with virtualhost.
The bad thing is that Apache needs to be restarted to load the new settings.
Any way to do this automatically?

(I've created an automated cron-job which runs a .bat-file every minute (NET STOP wampapache & NET START wampapache), but every minute, the server experiences a few seconds downtime.)

Thanks smiling smiley

Options: ReplyQuote
Re: Restart server.
Posted by: Romain Bourdon (---.w193-251.abo.wanadoo.fr)
Date: January 18, 2006 09:30AM

have a look at the alias scripts of wampserver. You could use a similar method for your local needs.

Romain

Options: ReplyQuote
Re: Restart server.
Posted by: Whiishu (---.customer.alfanett.no)
Date: January 21, 2006 12:03PM

Hi there, and thanks for the answer :-)
But I don't completely understand, could you (or anybody else) please deepen the answer?

Thanks a lot

~ Whiishu

Options: ReplyQuote


Sorry, only registered users may post in this forum.