You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jay Jarvinen <3p...@iname.com> on 2000/03/08 15:23:25 UTC

Re: [NEWBIE] running stable/develpt scripts?

gs@collector.hscs.wmin.ac.uk wrote:
> 
> Hi,
> 
> I'm new to mod_perl. I have a set of scripts running 'live'
> on apache (my stable version) and another copy of these
> scripts under development (by another user on the same system,
> but working on scripts with his own public_html area).
> 
> What happens is of course that whenever the developer does some
> work some incarnations of apache
> pick up on the development scripts, which refer to templates
> etc which don't exist in the stable version. Randomly selected
> visitors visiting the stable site then get server error
> messages, because of these references.
> 
> Is there any easy way round this? How do others handle
> this situation?
> 
> Thanks for any advice, and apioAlogies if the answer
> is glaringly obvious (it usually is :-(
> 
> Graham
> A

Hi Graham,

Scarey aint it? I'm fairly certain Stas knows the <a name"#??"> for this
from the guide.. and most certainly would/will kindly point you to it.
(too lazy to find it myself)

If you're running both version _in_ the same server, you're most
definately experiencing namespace problems (package names).

I'd suggest running two httpd's and devising a way to pull in the
modules without having to s/beta/live/ package names. (I push @INC with
a private area in /usr/local/apache/conf/FOO, which exists in both my
beta && live dirs).

The guide truly is your friend, massive as it may be :)

-Jay J