Both Bills - thank you for your answers, interesting information and tips!
>Browsers have no place in testing web applications.
>
OK, I did test it with GET as you did Bill, the picture is of course
stronger than with browser but still very similar.
E.g. 4 - conseq. access GET-tries per each site (conf is further below).
access to sbox location (try/result): 1st/OK 2nd/500 3rd/OK 4th/500
-//- sradio location (try/result): 1st/500 2nd/OK 3rd/500 4th/OK
-//- s123 location (try/result): 1st/500 2nd/500 3rd/500
4th/500 <- all bad
>That undefined subroutine error is not what I'd expect, by maybe you
>didn't do a normal installation and files are not where they are
>suppose to be.
.. the only thing till now that I found & that helps me in this story - is
to place 'x' in front of the hash line "date_ranges" in swish.cgi - then
all works fine!?
I do not understand exactly why the problem happens with "Undefined
subroutine &SWISH::DateRanges::DateRangePars" although there is no problem
with other packages from the same location exists e.g. for
"package => 'SWISH::PhraseHighlight'," or " package =>
'SWISH::TemplateDefault' };" defined in swish.cgi?
Also I believe that my swish-e 2.4.0 installation is OK, it was done 1 year
ago, all tests were OK and I had just fun & no troubles since then (Linux
suse 8.2, 2.4.20-64GB-SMP; Apache/1.3.27 (Linux/SuSE) PHP/4.3.1
mod_perl/1.27; SWISH-E 2.4.0;)
/usr/local/bin/swish-e
/usr/local/lib/swish-e/perl
Below also is my apache conf. file that I use for these tests in our INTRANET.
VirtualHost 192.168.3.6:80>
ServerAdmin webmaster@bibvb.ac.at
DocumentRoot /srv/www/htdocs/
ServerName sputnik.bibvb.ac.at
ErrorLog /var/log/httpd/sputnik.obvsg.at-error_log
CustomLog /var/log/httpd/sputnik.obvsg.at-access_log common
<perl>
use lib '/srv/www/cgi-bin/mediasrv'; # location of the swish.cgi file
use lib '/usr/local/lib/swish-e/perl'; # modules required by
swish.cgi
require "swish.cgi";
</perl>
<location /sradio>
PerlSetVar Swish_Conf_File
/work/obvsoft/evol/apps/media_server/swish/conf/.swishcgi-radio.conf
allow from all
SetHandler perl-script
PerlHandler SwishSearch
</location>
<location /sbox>
PerlSetVar Swish_Conf_File
/work/obvsoft/evol/apps/media_server/swish/conf/.swishcgi-check_box.conf
allow from all
SetHandler perl-script
PerlHandler SwishSearch
</location>
<location /s123>
PerlSetVar Swish_Conf_File
/work/obvsoft/evol/apps/media_server/swish/conf/.swishcgi.conf
allow from all
SetHandler perl-script
PerlHandler SwishSearch
</location>
# 2005-06-05 mod_perl - implementing access to various sites using
individual .. END
#
-------------------------------------------------------------------------------
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
</IfModule>
</VirtualHost>
Many thanks again,
Victor Babitchev
The Austrian Library Network
Received on Sun Jun 5 14:42:13 2005