Jonathan Mangin wrote:
I have a static installation of mod_perl-1.29 with apache-1.3.29.
Apache::Registry lines are commented in httpd.conf and startup.pl.
Apache::Status shows that ::Registry is not loaded.
Why does my script still work??


PerlRequire /usr/local/apache/perl/lib/startup.pl # PerlFreshRestart On PerlTaintCheck On

Alias /perl-bin/ /usr/local/apache/perl-bin/

# PerlModule Apache::Registry
# PerlModule Apache::DB

<Location /perl-bin/>
#   PerlFixupHandler Apache::DB
   SetHandler perl-script
   PerlHandler Apache::Registry
   Options ExecCGI
#   PerlSendHeader On
   Allow from all
</Location>

Your problem is this: Apache::Status shows the status of the *current* process. If you haven't run the script in this process before, it won't have A-R loaded. In order to avoid this kind of confusions, you need to test under a single server mode, i.e. starting Apache as 'httpd -X'.


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to