From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E54Bt-000853-BV for garchives@archives.gentoo.org; Tue, 16 Aug 2005 16:21:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7GGIm5w023963; Tue, 16 Aug 2005 16:18:48 GMT Received: from senior.ro (ns3.zona.ro [193.231.233.147]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7GGIltK007879 for ; Tue, 16 Aug 2005 16:18:47 GMT Received: (qmail 13571 invoked from network); 16 Aug 2005 19:41:43 +0300 Received: from 82.76.89.103 by ns3 (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.86.2/1023. f-prot: 4.5.4/3.16.6. spamassassin: 3.0.4. perlscan: 1.25st. Clear:RC:0(82.76.89.103):SA:0(-2.6/5.0):. Processed in 5.529823 secs); 16 Aug 2005 16:41:43 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Received: from unknown (HELO mushuroi) (radu@zona.ro@82.76.89.103) by 0 with SMTP; 16 Aug 2005 19:41:38 +0300 Message-ID: <001701c5a27e$45961590$67594c52@mushuroi> From: "radu herinean" To: References: <20050816140140.52203b98@localhost.localdomain> Subject: Re: [gentoo-server] Refreshing vhosts without restarting apache Date: Tue, 16 Aug 2005 19:19:26 +0300 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Archives-Salt: 02f49815-f4b9-44af-a3a3-ca6ff027f8d1 X-Archives-Hash: d0780e9d72bd30f2cc2e05d616b1fe61 another "workarround" that i am currently using is mass vhost-ing. you can switch to templated vhosting and all you have to do when you add a new host is add a new folder and update your dns. no reload, no restart, no nothing. it just works. you can find plenty of stuff on this on the net and there is also an example config file in the /conf folder somewhere. ----- Original Message ----- From: "Darko Luketic" To: Sent: Tuesday, August 16, 2005 3:01 PM Subject: [gentoo-server] Refreshing vhosts without restarting apache > Hello, > > i'm not sure if this is the right place to ask. > I was searching for a way to refresh apache2's virtualhosts without > restarting apache. > Currently i'm creating a reloadme file which gets checked for existence > every 15min by vixie-cron > and if it exists, apache2 is reloading, with nptl no problem, but > sometimes the reload fails for unknown (unlogged) reasons. > and imho thats not really the way it should be, apache should be restarted > once a day not potentially every 15 minutes. > > -- > Darko Luketic > http://www.power-forums.com/ > Free International Forums > webmaster@power-forums.com > -- > gentoo-server@gentoo.org mailing list > > -- gentoo-server@gentoo.org mailing list