Skip to main content.
home | support | download

Back to List Archive

Help editing header info in util.pl

From: John Kelly <jck(at)not-real.toptenlinks.com>
Date: Wed Feb 25 1998 - 08:25:27 GMT
I have swish-e installed on a virtual server at iServer and am having
trouble customizing the header output via the util.pl file. I just get
the following error message in my browser.

Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator, webmaster@toptenlinks.com and
inform them of the time the error occurred, and anything
you might have done that may have caused the error.

Following is the part of the util.pl file that I have edited. It is
primarely an imagemap that works on other parts of my site without
problem. But when it is inserted in the util.pl header section the
results page of swish does not work. Any suggestions are appreciated.


John Kelly
jck@toptenlinks.com

################################################
# print the header information
sub print_header_info
{
  local ($title) = @_;

  print "Content-type: text/html\n\n";

  if ($local == 0) {
    #
    # do this if not local, customize below if desired
    #
    print <<ENDHEAD;
<html>
<head>
<title>TopTenLinks Search Results</title>
</head>
<body bgcolor=\"#ffffff\">
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>

<p align="center"><map name="FrontPageMap">
<area shape="rect" coords="406,55,469,73"
href="http://www.toptenlinks.com/help.htm">
<area shape="rect" coords="406,31,471,49"
href="mailto:badlinks@toptenlinks.com?subject=The following link is not
working ...">
<area shape="rect" coords="405,8,471,25"
href="mailto:feedback@toptenlinks.com">
<area shape="rect" coords="334,54,400,73"
href="http://www.toptenlinks.com/advertising.htm">
<area shape="rect" coords="334,32,400,50"
href="http://www.toptenlinks.com/link2us.htm">
<area shape="rect" coords="333,9,399,26"
href="http://www.toptenlinks.com/methodology.htm">
<area shape="rect" coords="260,54,328,73"
href="http://www.toptenlinks.com/submit.htm">
<area shape="rect" coords="260,32,327,48"
href="http://www.toptenlinks.com/search.htm">
<area shape="rect" coords="260,7,327,26"
href="http://www.toptenlinks.com">
<area shape="rect" alt="Home" coords="281,16,281,16"
href="http://www.toptenlinks.com" target="_top">
<area shape="rect" alt="Search" coords="312,41,312,41"
href="http://www.toptenlinks.com/search.htm" target="_top">
<area shape="rect" alt="Submit" coords="310,62,310,62"
href="http://www.toptenlinks.com/submit.htm" target="_top">
<area shape="rect" alt="Methodology" coords="375,14,375,14"
href="http://www.toptenlinks.com/methodology.htm" target="_top">
<area shape="rect" alt="Link To Us" coords="366,43,366,43"
href="http://www.toptenlinks.com/link2us.htm" target="_top">
<area shape="rect" alt="Advertising" coords="371,62,372,62"
href="http://www.toptenlinks.com/advertising.htm" target="_top">
<area shape="rect" alt="Feedback" coords="456,13,456,13"
href="feedback@toptenlinks.com" target="_top">
<area shape="rect" alt="Bad Links" coords="439,42,440,42"
href="badlinks@toptenlinks.com?subject=The following link is not working
..." target="_top">
<area shape="rect" alt="Help" coords="439,63,439,63"
href="http://www.toptenlinks.com/help.htm" target="_top">
<area shape="rect" alt="TopTenLinks" coords="99,35,99,35" nohref>
<area shape="default" nohref>
</map>
<a href="/_borders/_derived/top.htm.map"><img ismap
usemap="#FrontPageMap" border="0" height="78" alt="TopTenLinks"
src="../images/navbar.gif" width="480"></a></p>
</td></tr></table>

<!-- end header -->

ENDHEAD
    #
    # end non local header, customize above if desired
    #
Received on Wed Feb 25 00:31:58 1998