Monks

I'm not entirely clear if this is an apache problem or a perl problem so I'll moot it here in the hope that it is relevant. I have written a CGI script that dynamically generates a graph using the excellent AT&T GraphViz package. However, you are supposed to be able to naviagte through the graph by clicking on various vertices, and GraphViz provides a server side image map for doing this. To use my script you just specify the node of the graph to centre on as a parameter ('ec'), thus:

http://localhost/~arun/cgi-bin/egv.pl?ec=1.1.1.1

This works fine if I enter it manually as a URL and draws graphs. The URL format used by the image map is the same and thus should draw a graph by generating a URL in the form above appropriate to the node that was clicked. However, when clicked after a substantial pause a webpage saying the following appears:

Found The document has moved here.

The 'here' part of the above sentence is hyperlinked and clicking it takes me to the correct page that I should have reached originally. So my question is, why do I not go directly to the page I want, why is this intermediate page displayed with the link to the page I want embedded in it.

Does anyone know how I can fix this?

Incase it helps, these headers are displayed above the 'Found' bit:

HTTP/1.1 302 Found Date: Wed, 24 Jul 2002 09:22:52 GMT Server: Apache/ +1.3.24 (Unix) Location: http://localhost/~arun/cgi-bin/egv.pl?ec=1.14 +.14.1 ep-Alive: timeout=15, max=98 Connection: Keep-Alive Transfer-En +coding: chunked Content-Type: text/html; charset=iso-8859-1 12c

____________
Arun

In reply to Server-Side Image Map Problems by arunhorne

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.