You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sten Fredriksson <st...@gmail.com> on 2005/05/04 08:48:24 UTC

[users@httpd] Big apache setup

Hi, 

I'm in a project migrating several diffrent platforms into one singe.
The current VirtualHost count is about 200k and I wonder how you guys
are handling VirtualHosts in large setups? (php+suexec etc).

Using traditional config file is not going to work. mod_vhost_alias
will work but then there are some specialized VirtualHost configuration
for some of the vhosts (like enabling mod_python etc..) and then I'm back
to having like 30k vhosts in configuration file and it will take forever
to restart the httpd process....

--
Regards Sten Fredriksson
stenfredriksson@gmail.com


---------------------------------------------------------------------
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] Big apache setup

Posted by Joshua Slive <js...@gmail.com>.
On 5/4/05, Sten Fredriksson <st...@gmail.com> wrote:
> Using traditional config file is not going to work. mod_vhost_alias
> will work but then there are some specialized VirtualHost configuration
> for some of the vhosts (like enabling mod_python etc..) and then I'm back
> to having like 30k vhosts in configuration file and it will take forever
> to restart the httpd process....

You can either give the special configs their own name-based
<VirtualHost> containers, and let the others fall back to
mod_vhost_alias (listed in the first <VirtualHost> container), or you
can use <Directory> sections to apply the special configs only to
particular hosts.

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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org