You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by bruce <be...@earthlink.net> on 2003/12/25 08:10:17 UTC

[users@httpd] apache question...

hi...

is there a way to make a change to the httpd.conf file and have the changes
take effect, without having to restart the apache server... ???

thanks

bruce 
bedouglas@earthlink.net



Re: [users@httpd] apache question...

Posted by Joshua Slive <jo...@slive.ca>.
On Thu, 25 Dec 2003, Aaron W Morris wrote:

>
> bruce wrote:
> > hi...
> >
> > is there a way to make a change to the httpd.conf file and have the changes
> > take effect, without having to restart the apache server... ???

> `apachectl graceful`   Viola!
>
> This should be the equivalent to a `kill -USR1 <PID>` on most platforms.

This is the correct answer.  It is a restart of apache, but it is done in
a way that clients will not notice at all.

As someone else mentioned, you should also look at mod_vhost_alias, which
allows vhosts to be added or subtracted on the fly simply by changing the
filesystem and DNS.

Joshua.

---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] apache question...

Posted by Aaron W Morris <aa...@mindspring.com>.
bruce wrote:
> hi...
> 
> is there a way to make a change to the httpd.conf file and have the changes
> take effect, without having to restart the apache server... ???
> 
> thanks
> 
> bruce 
> bedouglas@earthlink.net
> 


`apachectl graceful`   Viola!

This should be the equivalent to a `kill -USR1 <PID>` on most platforms.

-- 
Aaron W Morris <aa...@mindspring.com> (decep)




---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org