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/';
allow from all
I also tried running the script via Apache::Registry (see below), this
approach is how I normally run my mod_perl scripts. This generates an error
in the browser but no error is logged in the error_log. It seems to me that
my use lib statement in httpd.conf isn't working since this path isn't
searched. Any ideas? BTW: the example script is working great as a cgi
with very few edits to switch it from a message search to a web doc search.
Also does the DateRanges.pm really exist?
Received on Wed Aug 15 17:32:39 2001