Re: multiple developers on one Sever

[prev] [thread] [next] [Date index for 2004/12/22]

From: Tom Schindl
Subject: Re: multiple developers on one Sever
Date: 13:09 on 22 Dec 2004
Well you are not stating which mp-version you are running but for:

mp1:
----
http://perl.apache.org/docs/1.0/guide/modules.html#Apache__PerlVINC___Allows_Module_Versioning_in_Location_blocks_and_Virtual_Hosts

mp2:
----
http://perl.apache.org/docs/2.0/user/config/config.html#C_Parent_

Tom


Henning Meyer wrote:
> Hello,
> I've got a mod_perl-Apache running, which hosts multiple
> developement-versions (of multiple CVS-developers) of a webapp.
> Therefore I've got this apache-config:
> <Location ~ /dev/project.*/web>
>     Options +Includes
>     XBitHack on
> </Location>
> <Location ~ /dev/project.*/web/+cgi-bin>
>     SetHandler perl-script
>     PerlHandler Apache::Registry
>     PerlModule Apache::DBI
>     PerlSendHeader On
>     Options ExecCGI +Includes
>     Order allow,deny
>     Allow from all
>     AllowOverride None
> </Location>
> 
> Each version has its own config (like a seperate DB per developer). This is
> done by:
> require 'config.pl';
> in each of the mod_perl-scripts.
> config.pl looks like this:
> 
> #!/usr/bin/perl
> use strict;
> package myconf;
> use vars qw(%c);
> %c = (DB=>"henningsDB"}; # or tutmannsDB in tutmanns config.pl
> 1;
> 
> The point is, that in each version everything may be the same except of the
> config.pl.
> But: Apache and mod_perl seem to mix up the configurations. The reason seems
> to be, that the configuration is just read once the process starts, and not
> each time a script is executed.
> What is a good workaround? Local ini-Files? Or something even better?
> 
> Thanks
> 
> Henning
> 
> 


        -- 
        Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

multiple developers on one Sever
Henning Meyer 17:40 on 20 Dec 2004

Re: multiple developers on one Sever
Pratik 11:04 on 21 Dec 2004

Re: multiple developers on one Sever
Arun pandey 11:18 on 21 Dec 2004

Re: multiple developers on one Sever
Henning Meyer 12:15 on 22 Dec 2004

Re: multiple developers on one Sever
Vadim 15:40 on 22 Dec 2004

Re: multiple developers on one Sever
Perrin Harkins 16:22 on 22 Dec 2004

Re: multiple developers on one Sever
Tom Schindl 13:09 on 22 Dec 2004

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52