I am using Registry with mod_perl and virtual host.
Some time my scripts get confuse.
If I do a stack backtrace,
For example:
/usr/local/website/caisses/cgi-bin/caisses:1:SedNove::xml,
/usr/local/website/sednove/cgi-bin/nf,1079,SedNove::xml::raise,1,,,,0,
2:SedNove::oper,
/usr/local/website/sednove/cgi-bin/nf,2943,SedNove::xml::xmlread,1,0,,,0,
As you can see the program is going from one script to the other one
without any reason.
I have a startup file that look like:
$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!";
use Apache::Registry (); # for things in the "/programs" URL
# pull in things we will use in most requests so it is read and compiled
# exactly once
use CGI (); CGI->compile(':all');
use CGI::Carp ();
use DB_File;
The version of my program are:
Apache/1.3.12 (Unix) mod_perl/1.24
Any Idea why its doing that?
--
Pierre Laplante
SedNove Inc.