On Fri, 10 Nov 2006 18:34:18 -0500
Jonathan Vanasco wrote:

>
> On Nov 10, 2006, at 3:01 PM, Hans de Groot wrote:
>
> > Hi,
> >
> > I would like to make my own vhost modules in modperl.

>
> I would not do that at all. because of the way mp handles memory
> and namespaces, vhosting mod_perl is a nightmare waiting to happen.
>
> mp is really best used in dedicated server situations.
>
> you could use something lightweight like lighttpd or nginx to handle
> mass vhosting and then proxy that off to modperl enabled apache.
>
> or write a vhost proxy in modperl that proxies off to other
> apaches. but running a vhost service and perl handlers/scripts under
> modperl will be a memory & resource nightmare.


Trying to use mod_perl to speed up the vhosts' CGIs is a nightmare,
but just using mod_perl to do your Apache configuration and having
normal CGI Perls running under it causes no real pain other than
the memory overhead of mp itself.

---------------------------------
Frank Wiles
http://www.wiles.org
---------------------------------