Hey gang, happy friday!

We have two trees for our web app:

   Prod  ->  /pages/sc2/roomlogin?<parms>
PreProd  ->  /pages/sctest/roomlogin?<parms>

httpd.conf:

Location /pages/sc2/roomlogin -> /path/pages/sctest/omno/prod.pm
Location /pages/sctest/roomlogin -> /path/pages/sctest/omno/preprod.pm

After testing is done on preprod, we migrate from preprod to prod.

The problem I am facing is that when we migrate, I have copy preprod.pm to prod.pm and make a change in the package name.

I'm thinking if I change my @lib to one /path/pages/ then I can do something like this:

<Location /pages/sc2/roomlogin>
        SetHandler              perl-script
        PerlResponseHandler     sc2::omno::secconf
</Location>

<Location /pages/sctest/roomlogin>
        SetHandler              perl-script
        PerlResponseHandler     sctest::omno::secconf
</Location>

Right?
That way both perl files will have the same package (omno::secconf) but be in two separate locations to facilitate easy migration.

Is my theory correct? If not, have others been in a situation like this? Any/all assistance is greatly appreciated.

Thanks,
Matthew

Reply via email to