For the record, server-info is a great help, thanks for the pointer.
The problem was that I had placed my <Perl></Perl> before my closing
</IfDefine> for SSL. If I had only been starting the server with SSL.
The obvious is below;
It's up and running as a handler, Thanks Bill
[mailto:firstname.lastname@example.org]On Behalf Of Bill Moseley
Sent: Wednesday, August 15, 2001 1:57 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: example/swish.cgi && mod_perl?
At 10:44 AM 8/15/2001 -0700, you wrote:
> I am working with SWISHE 2.1 dev 22, Apache/1.3.20 (Unix) mod_perl/1.26,
>and using the Perl script found in the
>I am trying to get this to run under mod_perl but it gives me an error;
>[error]Can't locate SwishSearch.pm in @INC
>[error] Undefined subroutine &SwishSearch::handler called.
>None of the paths listed in @INC are the path where swish.cgi exist.
>This is what my httpd.conf looks like;
> use lib '/usr/local/web/apache/cgi-bin/';
> require "swish.cgi";
> allow from all
> SetHandler perl-script
> PerlHandler SwishSearch
Hum, looks ok. Maybe you don't have <perl> sections enabled?? The require
should load it into perl at server startup. Can you do a
http://foo/perl-status and look at the loaded modules to see if it's
getting loaded? perl-status can be a big help when debugging. It will
show @INC, too. Make sure you kill the server and start -- don't just -HUP
or -USR1 it.
Maybe the <IfDefine> isn't working (add a statement that you know will
cause an error and try restarting the server). And I suppose error_log
didn't give any hints either.
>I also tried running the script via Apache::Registry
Don't run it as a Registry script. It works fine as a handler -- I've had
too many weird problems with Registry scripts.
>Also does the DateRanges.pm really exist?
http://hank.org/modules, I believe.
Received on Wed Aug 15 18:53:17 2001