> Stas Bekman wrote:
> > Before the server is started STDERR is not tied to error_log, all the log
> > messages go to the console you start the httpd from.
> 
> O.K.  I get no messages.
> 
> > 
> > > Here's the snippet from the startup.pl file:
> > > ============================================
> > > #
> > > # Preload certain scripts
> > > #
> > > # xyz scripts
> > > $Apache::Registry::Debug = 4;
> > >
> > > my $rbuyit = Apache::RegistryLoader->new('abc.xyz.com/cgi-bin/script',
> > >                '/usr/local/www_sh/cgi-bin/xyz/script');
> > 
> > Hmm... Virtual hosts? I've never tried it with VH, I'm not sure it will
> > work. Otherwise you shouldn't include the hostname in the first argument.
> > 
> > What error message do you see?
> 
> I've changed the startup.pl script to be the following:
> =======================================================
> my $rl = Apache::RegistryLoader->new('/cgi-reg/UL',
>                                '/usr/local/www_sh/cgi-bin/UL');
> 
> 
> This should eliminate the virtual host issue?
> 
> Still the same.
> 
> Start server. No error messages. 
> Check "http://abc.xyz.com/perl-status?rgysubs", and there are no
> compiled
> modules listed.

'script's not 'modules'...

may be there is something different with VH?

I see :
Apache::ROOT::perl::test::test_2epl 

when I prelaod 
Apache::RegistryLoader->new->handler("/perl/test/test.pl",
"/home/httpd/perl/test/test.pl");

Now I see your problem! You didn't call the handler() method!!!

you should do:

my $rl = Apache::RegistryLoader->new;
$rl->handler('/cgi-reg/UL','/usr/local/www_sh/cgi-bin/UL');

Did you do 'perldoc Apache::RegistryLoader'?

Now it should work. 

> 
> 
> Any other sugguestions?
> The machine is running 4 virtual hosts.
> 
> -Bill



_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to