Hi,
I have just tested 'search.cgi' using SWISH::API on windows 2000 it works
fine with CGI, though you must define the Template-Toolkit (*.tt file)
inside the
__DATA__ section.
I have just tested it wit mod_perl, but i get an strange error when
restarting the apache server, the error as following:
apache2/logs
----
[Wed May 05 13:37:00 2004] [notice] Parent: Received restart signal --
Restarting the server.
[Wed May 05 13:37:00 2004] [warn] Syntax error at C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:183 Global $r object is not available. Set:
PerlOptions +GlobalRequest
in httpd.conf at C:/Perl/lib/CGI.pm line 308.
Compilation failed in require at (eval 5) line 5.
----
Do you have an idea?
here is my part of my apache2/conf/httpd.conf
---
LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
PerlRequire "C:/Program Files/Apache Group/Apache2/conf/extra.pl"
<Perl>
use lib "C:/Program Files/Apache Group/Apache2/search";
use lib "C:/SWISH-E/lib/swish-e/perl";
require "C:/Program Files/Apache Group/Apache2/search/mysearch.cgi";
</Perl>
Alias /search/ "C:/Program Files/Apache Group/Apache2/search/"
<Location /search/>
PerlSetVar Swish_Conf_File "C:/Program Files/Apache
Group/Apache2/search/.searchcgi.conf"
allow from all
SetHandler perl-script
PerlHandler SwishSearch
</Location>
---
Note this works fine when changing it to not using SWISH:API (the
'swish.cgi')
All the best,
Peter
----- Original Message -----
From: "David L Norris" <dave@webaugur.com>
To: "Multiple recipients of list" <swish-e@sunsite.berkeley.edu>
Sent: Wednesday, May 05, 2004 12:21 PM
Subject: [SWISH-E] Re: Running swish-e on windows with mod_perl and apache -
fork
> On Wed, 2004-05-05 at 04:29, Peter Morling wrote:
> > I understand this as it is not possible to use SWISH::API under windows,
=
> is
> > this correct?
>
> SWISH::API should be available on Windows. I've run several scripts and
> they work. I have never tested with mod_perl.
>
> --=20
> David Norris
> http://www.webaugur.com/dave/
> ICQ - 412039
>
>
>
> *********************************************************************
> Due to deletion of content types excluded from this list by policy,
> this multipart message was reduced to a single part, and from there
> to a plain text message.
> *********************************************************************
Received on Wed May 5 04:47:21 2004