Hi!

On Tue, Mar 18, 2003 at 01:39:41PM -0500, Chris Faust wrote:

> I'm running mod_perl 2 on RedHat with Apache 2.0.44 and I'm using NamedBased
> Virtual Hosting in apache (so I have a number of virtual hosts and apache
> directs properly based on hostname).
> 
> I use a startup.pl to load up common things like DBI, CGI, HTML::Template
> etc..
> 
> Should I have just a single startup.pl and will that work with all virtual
> hosts? Or should I have a startup.pl per virtual host.

AFAIK, and with mod_perl 1.x, having multiple startup.pl's makes no sense as
they all get executed during server startup and in the main namespace. 


-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to