httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <>
Subject Re: Disable a virtualhost
Date Fri, 12 Apr 2002 07:48:49 GMT
Nick De Decker wrote:
> Hello,
> Is it possible to stop a virtualhost from serving pages without having to
> restart apache or adjust the configfile ?
> So can i tell a running apache to enable/disable the serving of a specific
> virtualhost ?

Reloading the apache config doesn't necessarily mean restarting. You can
send the apache process a SIGHUP with the "graceful" argument to
apachectl, i.e.

# /usr/local/apache/bin/apachectl graceful

This will not cause any existing connections to fail or running CGIs to
stop - no users will notice anything...


Owen Boyle.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message