httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Jeffries <sjjeffr...@attbi.com>
Subject Re: virtual hosts - adding at runtime
Date Sun, 17 Feb 2002 07:02:09 GMT
It can be done, last place I worked we did it using mod rewrite. The 
vhost were maped to a text file and any changes to the text file would 
be picked up by apache automatically, no restart needed.

Joshua Slive wrote:

>On Sat, 16 Feb 2002, Kevin M. Shortt wrote:
>
>>>i tried reading docs, playing with it, but i can't make it to work.
>>>can somebody sent me example(s) howto add virtual hosts at runtime,
>>>without restarting apache. thxn...
>>>
>>	As far as I know this is not possible.
>>
>>	The closest you can come is by doing a graceful restart.
>>	This will restart apache (which re-reads httpd.conf) without
>>	breaking any current connections.
>>
>>	graceful restart can be done with the apachectl script:
>>		%%>apachectl graceful
>>
>
>Right.  That is the best way for a relatively small number of vhosts.  For
>a large number of vhosts, see:
>http://httpd.apache.org/docs/vhosts/mass.html
>
>Joshua.
>
>
>
>---------------------------------------------------------------------
>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
>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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message