You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chance Ervin <ce...@intersectconsult.com> on 2009/10/14 20:47:46 UTC

[users@httpd] Restarting Individual Sites

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 

 

 


Re: [users@httpd] Restarting Individual Sites

Posted by Jonathan Zuckerman <j....@gmail.com>.
On Wed, Oct 14, 2009 at 11:47 AM, Chance Ervin
<ce...@intersectconsult.com> 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 <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] Restarting Individual Sites

Posted by Frank Gingras <fr...@gmail.com>.
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 <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