Gentoo Archives: gentoo-server

From: radu herinean <radu@××××.ro>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Refreshing vhosts without restarting apache
Date: Tue, 16 Aug 2005 16:21:29
Message-Id: 001701c5a27e$45961590$67594c52@mushuroi
In Reply to: [gentoo-server] Refreshing vhosts without restarting apache by Darko Luketic
1 another "workarround" that i am currently using is mass vhost-ing.
2
3 you can switch to templated vhosting and all you have to do when you add a
4 new host is add a new folder and update your dns. no reload, no restart, no
5 nothing. it just works.
6
7 you can find plenty of stuff on this on the net and there is also an example
8 config file in the /conf folder somewhere.
9
10
11 ----- Original Message -----
12 From: "Darko Luketic" <webmaster@××××××××××××.com>
13 To: <gentoo-server@l.g.o>
14 Sent: Tuesday, August 16, 2005 3:01 PM
15 Subject: [gentoo-server] Refreshing vhosts without restarting apache
16
17
18 > Hello,
19 >
20 > i'm not sure if this is the right place to ask.
21 > I was searching for a way to refresh apache2's virtualhosts without
22 > restarting apache.
23 > Currently i'm creating a reloadme file which gets checked for existence
24 > every 15min by vixie-cron
25 > and if it exists, apache2 is reloading, with nptl no problem, but
26 > sometimes the reload fails for unknown (unlogged) reasons.
27 > and imho thats not really the way it should be, apache should be restarted
28 > once a day not potentially every 15 minutes.
29 >
30 > --
31 > Darko Luketic
32 > http://www.power-forums.com/
33 > Free International Forums
34 > webmaster@××××××××××××.com
35 > --
36 > gentoo-server@g.o mailing list
37 >
38 >
39
40 --
41 gentoo-server@g.o mailing list