Fwd: Different code in different children

2001-03-08 Thread Kelly Dodge


I have a site that is up and running and serving several customers
using Mod_Perl, Apache, and MySQL on a Freebsd 4 machine.

I am trying to add enhancements to my code.  I created a new
directory called dev and copied all of my scripts into that directory
to work on them.

Several of my scripts 'require' a package I made called init.pr.  As I
do my testing on the dev directory, and the live people are in my
live directory, it seems that some Apache children have the dev
init.pr loaded, and some have the live init.pr loaded.  This is true
even if I give the whole path to the require file.

(yes, I am restarting the server...)

Is this a common problem?  Do I HAVE to have an entirely different
server for development?

Any help will be appreciated...

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kelly Dodge  http://www.edurus.com
IT Director   [EMAIL PROTECTED]
edurus, Inc.  (775) 885-8333

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kelly Dodge  http://www.edurus.com
IT Director   [EMAIL PROTECTED]
edurus, Inc.  (775) 885-8333




Re: Fwd: Different code in different children

2001-03-08 Thread Stas Bekman

On Thu, 8 Mar 2001, Kelly Dodge wrote:


 I have a site that is up and running and serving several customers
 using Mod_Perl, Apache, and MySQL on a Freebsd 4 machine.
 
 I am trying to add enhancements to my code.  I created a new
 directory called dev and copied all of my scripts into that directory
 to work on them.
 
 Several of my scripts 'require' a package I made called init.pr.  As I
 do my testing on the dev directory, and the live people are in my
 live directory, it seems that some Apache children have the dev
 init.pr loaded, and some have the live init.pr loaded.  This is true
 even if I give the whole path to the require file.
 
 (yes, I am restarting the server...)
 
 Is this a common problem?  Do I HAVE to have an entirely different
 server for development?
 
 Any help will be appreciated...

It's very confusing to reply to an email which already has been quoted as
replied :(

Please RTFM:
http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and
http://perl.apache.org/guide/modules.html#Apache_PerlVINC_Allows_Module
http://perl.apache.org/guide/multiuser.html#Virtual_Hosts_in_the_guide

_
Stas Bekman  JAm_pH --   Just Another mod_perl Hacker
http://stason.org/   mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://logilune.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/