Skip to main content.
home | support | download

Back to List Archive

Re: How to install Perl Packages?

From: David L Norris <dave(at)not-real.webaugur.com>
Date: Fri Jun 07 2002 - 07:02:39 GMT
On Thu, 2002-06-06 at 15:15, Jody Cleveland wrote:
> I've got Windows 2000 with IIS 5 and Perl 5.6.1.

OK, I've just installed Windows 2000, IIS 5.0, ActivePerl 5.6.1, and
SWISH-E 3/22 build into a clean VM.

I installed SWISH-E to c:\swish-e.  I copied swish.cgi to
c:\swish-e\cgi-bin\swish.pl.  In IIS, I mapped c:\swish-e\cgi-bin as a
script directory to the /swish web path.



OK, once all that was done...  I edited the options in the perl script.

It seems important that you remove the shebang line (else it tries to
execute it):
#!/usr/local/bin/perl

I changed the use lib line to:
  use lib qw( C:/swish-e/example/modules );

Then I edited these lines in default_config:
  swish_binary = "c:/swish-e/swish-e.exe"
  swish_index = "c:/swish-e/index.swish-e"



Then I created a simple index:
  swish-e -i \\myserver\some\interesting\docs\

Then I go to:
  http://iishost/swish/swish.pl
and it and works.

-- 
 David Norris
  Dave's Web - http://www.webaugur.com/dave/
  Augury Net - http://augur.homeip.net/
  ICQ - 412039
Received on Fri Jun 7 07:06:08 2002