perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perrin Harkins" <per...@elem.com>
Subject Re: Virtual host with mod_perl
Date Fri, 28 Mar 2008 15:00:23 GMT
On Fri, Mar 28, 2008 at 8:30 AM, Valerio <valerio.bontempi@gmail.com> wrote:
>  Instead I need a solution that allow adding a vhost to the database
>  without need of restarting apache.

This is not usually done with mod_perl because there are
lighter-weight solutions available.  There's some info on vhosts with
mod_rewrite and mod_vhost_alias here:
http://httpd.apache.org/docs/2.0/vhosts/mass.html

You can find apache modules built specifically for dynamically pulling
vhosts from a database here:
http://modules.apache.org/

You certainly could do this from mod_perl, but I wouldn't.

- Perrin

Mime
View raw message