but I'm lost! Can someone please help. When the CGI script (using the sample
script
found in the SWISH documentation) returns the results page as in:
print <<Search_Results;
<P ALIGN=CENTER>
Swish found the following items, listed in order of computed relevance<BR>
Your Search for <strong>$query</strong>, returned $count Items
</P>
<HR>
<UL>
Search_Results
foreach (@results) {
select(STDOUT);
($stringone, $title, $filesize) = split(/\"/, $_);
($rank, $url) = split(/ /, $stringone);
print "<LI><A HREF=\"$url\">$title</A><BR>\n";
}
print "</UL>\n";
&html_trailer;
}
The $URL takes on the URL returned from the cgiwrap at the ISP as follows:
http://www.domain.com/cgi-bin/cgiwrap/user/the actual path to document
which of course is incorrect. How can I get rid of "cgi-bin/cgiwrap/user"
part?
Greatly appreciate your help. Frank
PS: The URL of the results page is
http://www.domain.com/cgi-bin/cgiwrap/user/search.pl?results=0&query=some_st
ring
Received on Sun Jan 25 19:18:17 1998