httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel-St├ęphane SMORGRAV <Axel-Stephane.SMORG...@europe.adp.com>
Subject RE: [users@httpd] Restart without disconnecting clients
Date Fri, 15 Jul 2005 07:56:14 GMT
Take a look at the implementation of apachectl (it's Bourne shell) for the finer details.

Also have a look at the httpd man page. The syntax contains the answer to your question:
     httpd [ -d serverroot ] [ -f config ] [ -C directive ] [  -c directive  ]  [ -D parameter
] [ -e level ] [ -E file ] [ -k start|restart|graceful|stop ] [ -R directory ] [ -h ] [ -l
] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ]

-ascs 

-----Original Message-----
From: Sean Conner [mailto:sean@conman.org] 
Sent: Wednesday, July 13, 2005 8:14 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Restart without disconnecting clients

It was thus said that the Great satinders@in.safenet-inc.com once stated:
> 
> It was thus said that the Great satinders@in.safenet-inc.com once stated:
> > 
> > Hi,
> >      On Linux, can we make Apache (2.0.50) re-read and apply new 
> > configuration (new virtual host, changed IP of a existing virtual 
> > host, etc) without disconnecting the existing clients for whom there 
> > is no configuration change? same is needed for ssl connections.
> > Has anybody worked on this scenario? 
> 
>   Run "apachectl graceful". 
> 
> It disconnects the ssl connections.

  That I did not know.  I'm guessing the "-k" option prevents that? 

  Thanks.

  -spc (Learn something new everyday ... )


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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


Mime
View raw message