Agnello George wrote:
Hi
I would just like to know if it would be a good good option to have
separate vhost fies for each domain, this would make editing the files
( through shell scripts much easier ). But my only concern here is
would Apache be overloaded by reading multiple vhost files
to illustrate i would like to have something like  this :

in my httpd.conf flile
# Virtual hosts
Include conf/extra/httpd_vhost/

then i the following dir ( /usr/local/apache2/conf/extra/httpd_vhost/
) i will have :

domain1_vhost.conf
domain2_vhsot.conf
domain3_vhost.conf ............
..............................
..............................

this would make editing of a particular file much easy  through shell
script instead do  having all the directives in one httpd_vhost.conf

This should work just fine. The Ubuntu Linux distribution comes with the Apache configuration set up with multiple files in a similar manner.

Remember that Apache only reads its configuration once, when it is started up, so the additional processing is minimal.

- John Hicks

Reply via email to