RE: [users@httpd] Restart without disconnecting clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx] 
Sent: Wednesday, July 13, 2005 8:14 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Restart without disconnecting clients

It was thus said that the Great satinders@xxxxxxxxxxxxxxxxxx once stated:
> 
> It was thus said that the Great satinders@xxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux