Help: ENV shared between requests???

2006-07-28 Thread Fred Tyler
Hi, I just noticed something and I don't know if it is normal: Is %ENV supposed shared between requests??? I was trying to use $ENV{'HTTP_REFERER'} in a certain script, and as I reloaded the script over and over I noticed that it would constantly be changing when the page was loaded directly (and

Re: duplicate trees, different handlers

2006-07-28 Thread Jonathan Vanasco
On Jul 28, 2006, at 10:12 AM, Michael Peters wrote: >> a lot of stuff i agree with here, and then The easiest solution is to just run 2 apaches. Configure pre-prod for a different port. You can even run them from the same apache binary, just give them different configs to start off. i'll

Re: duplicate trees, different handlers

2006-07-28 Thread Michael Peters
Matthew wrote: > Hey gang, happy friday! > > We have two trees for our web app: > >Prod -> /pages/sc2/roomlogin? > PreProd -> /pages/sctest/roomlogin? > > httpd.conf: > > Location /pages/sc2/roomlogin -> /path/pages/sctest/omno/prod.pm > Location /pages/sctest/roomlogin -> /path/pages

duplicate trees, different handlers

2006-07-28 Thread Matthew
Hey gang, happy friday! We have two trees for our web app: Prod -> /pages/sc2/roomlogin? PreProd -> /pages/sctest/roomlogin? httpd.conf: Location /pages/sc2/roomlogin -> /path/pages/sctest/omno/prod.pm Location /pages/sctest/roomlogin -> /path/pages/sctest/omno/preprod.pm After testing

Apache2::RequestRec->new outside Apache

2006-07-28 Thread Radoslaw Zielinski
Hello, man Apache2::RequestUtil says (in context of using $r): ,,It's possible to write your own full or partial HTTP implementation without needing a running Apache server.'' How do I do that? How to create, for example, new Apache2::Connection? $ perl -MApache2::RequestRec -MApache2::Re