André Warnier wrote:
Brian Mearns wrote:
On Mon, Mar 23, 2009 at 1:37 AM, ken <kenbeins...@googlemail.com> wrote:
hi,
I'm using Apache 2.2 in Windows2003 Server.
After i change the configuration file. it takes a very long time during
Apache restart .
Is there any way to reload configuration file without restart Apache?
Any help will be appreciate.
You can try "graceful" instead of "restart" as the argument to
apachectl, but I don't know that that will be any faster. My guess is
parsing the config file is what's taking so long.
The OP is using Apache under Windows, presumably as a Windows Service. I
don't think apachectl is used in that case. I also don't know if the
Windows Service version can do the equivalent of the "graceful" or
"reload" options. I think it just stops the entire service and restarts
it.
Addendum :
This page (which I strongly advise the OP to read in full) :
http://httpd.apache.org/docs/2.2/platform/windows.html
has this to say :
You can also restart a running service and force it to reread its
configuration file by using:
httpd.exe -k restart
So maybe to OP could try that and see if it is faster ?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
" from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org