Restarting Individual Sites

Restarting Individual Sites

am 14.10.2009 20:47:46 von Chance Ervin

------=_NextPart_000_0049_01CA4CC4.26C29DB0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Server version: Apache/2.2.13 (Unix)



After looking through related apache forums, I am unable to find whether it
is possible just to reload a individual site through Apache without
restarting the entire Apache process. Basically, I am looking for a way to
be able to stop/start/restart a site in the same manner that IIS allows this
to happen.



I would like to be able to bring down a certain site without having to bring
down all the sites that depend on the Apache service.



It seems that an edit to the config file with a graceful restart of Apache
may do the trick but that introduces risk that a mistake was made in the
file and only found after trying to restart. Any help being guided in the
right direction would be appreciated.



Thanks,



Chance Ervin






------=_NextPart_000_0049_01CA4CC4.26C29DB0
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









Server version: Apache/2.2.13 (Unix)



 



After looking through related apache forums, I am =
unable to
find whether it is possible just to reload a individual site through =
Apache
without restarting the entire Apache process. Basically, I am looking =
for a way
to be able to stop/start/restart a site in the same manner that IIS =
allows this
to happen.



 



I would like to be able to bring down a certain =
site without
having to bring down all the sites that depend on the Apache =
service.



 



It seems that an edit to the config file with a =
graceful
restart of Apache may do the trick but that introduces risk that a =
mistake was
made in the file and only found after trying to restart. Any help being =
guided
in the right direction would be appreciated.



 



Thanks,



 



Chance Ervin



 



 









------=_NextPart_000_0049_01CA4CC4.26C29DB0--

Re: Restarting Individual Sites

am 14.10.2009 20:57:28 von Frank Gingras

Chance,

You can issue a simple apachectl graceful, and the new site will be visible.

Chance Ervin wrote:
> Server version: Apache/2.2.13 (Unix)
>
>
>
> After looking through related apache forums, I am unable to find whether it
> is possible just to reload a individual site through Apache without
> restarting the entire Apache process. Basically, I am looking for a way to
> be able to stop/start/restart a site in the same manner that IIS allows this
> to happen.
>
>
>
> I would like to be able to bring down a certain site without having to bring
> down all the sites that depend on the Apache service.
>
>
>
> It seems that an edit to the config file with a graceful restart of Apache
> may do the trick but that introduces risk that a mistake was made in the
> file and only found after trying to restart. Any help being guided in the
> right direction would be appreciated.
>
>
>
> Thanks,
>
>
>
> Chance Ervin
>
>
>
>
>
>
>


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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: Restarting Individual Sites

am 14.10.2009 21:05:43 von Jonathan Zuckerman

On Wed, Oct 14, 2009 at 11:47 AM, Chance Ervin
wrote:
> d on the Apache service.
>
>
>
> It seems that an edit to the config file with a graceful restart of Apache
> may do the trick but that introduces risk that a mistake was made in the
> file and only found after trying to restart. Any help being guided in the
> right direction would be appreciated.
>
>

you can run "apachectl configtest" to determine if there are any
errors in the configuration before restarting apache. I'm not aware
of any way for an apache web server which is hosting multiple sites to
restart for just a single site.
What you can do is make configuration changes within the virtual host
definition of the site you're interested in altering.

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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