At 12:02 AM 06/07/02 -0700, David L Norris wrote:
>It seems important that you remove the shebang line (else it tries to
>execute it):
>#!/usr/local/bin/perl
Weird.
>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"
swish_binary => "c:/swish-e/swish-e.exe",
swish_index => "c:/swish-e/index.swish-e",
For the fun of it you might try creating a .swishcgi.conf file. That would
avoid having to edit the actual script.
Untested:
.swishcgi.conf
--------------
unshift @INC, 'C:/swish-e/example/modules';
return {
swish_binary => "c:/swish-e/swish-e.exe",
swish_index => "c:/swish-e/index.swish-e",
};
And place it in the same directory as the script. I can't remember if that
unshift @INC is early enough for the require's in the script.
--
Bill Moseley
mailto:moseley@hank.org
Received on Fri Jun 7 00:12:50 2002