Bob Showalter wrote:
Andrew Gaffney wrote:

I didn't really know where to post this since it isn't specifically
Apache or Perl, so I'm posting here....just because :)

I run 2 vhosts under Apache 1.3.29 (needed for mod_perl-1.x which is
needed by HTML::Mason) on my Gentoo server. One vhost is the current
production site and the other vhost is the development version of the
site. I use a custom Perl module for authentication and other common
functions for all my Perl CGI/mod_perl scripts.

I want to be able to make changes to the module, but I only want it
to affect the second vhost. Basically, I need to have 2 copies of my
custom module, one for each vhost. Is there an easy way to do this?


If you have only one instance of Apache, I think the answer is no. The
multiple virtual hosts still share the single perl interpreter.

Why not just run two instances of Apache and put your development version on
the second (listen on port 8080 or some such)?

I will end up having more than 2 vhosts, most of which will need a custom version of this particular module.


--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to