I have tried a couple of hacks, with only moderate success.
Coding an absolute path name into the CGI script:
my $DEFAULT_CONFIG_FILE = '/u/gl/rdm/fsw_cgi/.swishcgi.conf';
allowed it to find the configuration file.
I then tried removing the symlink and copying the script
to the CGI directory. This worked equally as well (i.e.,
no improvement and I wasn't able to remove the hack above).
I still don't see why the script is leaving off its name
from the generated URL. FWIW, the web page contains:
The "action" value should prolly be "/cgi-wrap/fsw_docs".
It looks like it's being generated in TemplateDefault.pm:
my $form = $q->script_name;
This probably does the right thing in most cases, but it
isn't doing the right thing here! I kludged this to:
my $form = $q->script_name . '/fsw_docs';
which gets me past the cgi-wrap issue, but I still got:
Index file error: Could not open the index file
'index.swish-e': No such file or directory
so I hacked the .swishcgi.conf file:
# .swishcgi.conf - configuration file for fsw_docs (really, swish.cgi)
title => 'Search the FSW Web Area',
and am now getting a plausible-looking response page. I'd
like some help, however, in replacing my kludges with Real
Received on Wed Sep 15 17:29:24 2004