httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cs-HB <>
Subject Re: [users@httpd] Getting apache to recognize changes in httpd.conf "on the fly"
Date Mon, 07 Oct 2002 07:32:01 GMT

try "apachectl graceful". It isn't exactly what you want, but....
     graceful    Gracefully restarts the Apache daemon by sending
                 it a SIGUSR1.  If the daemon is not running,  it
                 is started.  This differs from a normal  restart
                 in  that  currently  open  connections  are  not
                 aborted.  A side effect is that  old  log  files
                 will not be closed immediately.  This means that
                 if used in a log rotation script, a  substantial
                 delay  may  be  necessary to ensure that the old
                 log files are  closed  before  processing  them.
                 This command automatically checks the configura-
                 tion files via configtest before initiating  the
                 restart to make sure  Apache  doesn't  die.   On
                 certain  platforms that  do not allow USR1 to be
                 used  for  a  graceful  restart,  an alternative
                 signal may be used  (such as WINCH).   apachectl
                 graceful will send  the right  signal  for  your

2002. 10. 06. 6:51:47, "Michael Schulz" <> wrote:

>Is there any way to force Apache to recognize updates in the httpd.conf
>Specifically, I want to be able to add new alias directives without having
>to shut down and restart apache.
>Is this possible?
>-Mike Schulz
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message