Re: Question about Files directive

[prev] [thread] [next] [Date index for 2005/03/03]

From: Carl Johnstone
Subject: Re: Question about Files directive
Date: 04:34 on 03 Mar 2005
> Chuck, use Apache::Reload and you won't have to restart the server.
> http://modperlbook.org/html/ch06_08.html


Although on a production server that's dealing with many thousands of
requests, that could be an awful lot of checks to see if modules have been
updated. Personally I prefer a bit of shell scripting on a cron:

#!/bin/sh

if [ -n "`find /path/to/my/modules -prune -newer /path/to/apache.pid`" ];
then
  echo "apache needs reloading"
  echo "Testing"
  apachectl configtest
  if [ $? = 0 ] ; then
    echo "Restarting"
    apachectl restart
  else
    echo "ERROR in apache config"
  fi
fi



        -- 
        Carl

Question about Files directive
Jain, Abhay K, ALABS 14:37 on 02 Mar 2005

Re: Question about Files directive
Sean Davis 14:43 on 02 Mar 2005

RE: Question about Files directive
Jain, Abhay K, ALABS 14:51 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:18 on 02 Mar 2005

Re: Question about Files directive
Carl Johnstone 17:18 on 02 Mar 2005

Re: Question about Files directive
Markus Wichitill 14:56 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 15:00 on 02 Mar 2005

Re: Question about Files directive
Tom Schindl 15:51 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 16:16 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:26 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 16:36 on 02 Mar 2005

RE: Question about Files directive
Perrin Harkins 16:43 on 02 Mar 2005

Re: Question about Files directive
Stas Bekman 23:53 on 02 Mar 2005

Re: Question about Files directive
Carl Johnstone 04:34 on 03 Mar 2005

Re: Question about Files directive
Carl Johnstone 20:40 on 02 Mar 2005

RE: Question about Files directive
Goehring, Chuck, RCI - San Diego 01:58 on 03 Mar 2005

Generated at 20:12 on 07 Mar 2005 by mariachi v0.52