I installed windows binary version of swish-e 2.4.1 in C:\Programme\SWISH-E
on W2k with IIS 5.0 in order to index intranet web sites served by IIS and
make them searchable.
It works without problems accept that some pathes have to be absolute in cgi
My intranet web site http://localhost resides at C:\home\mydir
There I put subdirectory swish containing:
15.01.2004 11:32 190 .swishcgi.conf
15.01.2004 11:25 402.630 index.swish-e
15.01.2004 11:25 74 index.swish-e.prop
15.01.2004 12:01 111.740 swish.cgi
15.01.2004 10:09 185 swish.conf
Now calling http://localhost/swish/swish.cgi
First error message had been:
Can't locate SWISH/ParseQuery.pm in @INC (@INC contains:
C:\Programme\SWISH-E\lib\swish-e\perl C:/Perl/lib C:/Perl/site/lib .) at
C:\home\mydir\swish\swish.cgi line 964.
BEGIN failed--compilation aborted at C:\home\mydir\swish\swish.cgi line 964.
Although beeing no perl professional I just added this line:
use lib qw( C:\Programme\SWISH-E\share\doc\swish-e\example\modules );
quite at top of swish.cgi and it was fixed.
After doing a search with web form provided by search.cgi second error
message had been:
Index file error: Could not open the index file 'index.swish-e'
I just replaced this line
my $DEFAULT_CONFIG_FILE = '.swishcgi.conf';
with this one:
my $DEFAULT_CONFIG_FILE = 'C:\home\mydir\swish\.swishcgi.conf';
and it works.
Hope it is help for the impatient.
Received on Thu Jan 15 11:26:00 2004