Merry Christmas everybody,

I'm not really sure that this is the right place to ask this question but you've never steered so far. So here goes :)
I have just setup Apache2 on my "family machine" and am in the process of setting up a cgi based family website.
The script that I use
#!F:\perl\bin\perl.exe -wT use strict; use CGI; my $q = CGI->new(); my $node = $q->param('node') || ""; my $html_dir_path = "..\\data\\html\\"; my $html_file_path = "$html_dir_path$node.txt"; open(HTML, "$html_file_path") or die "Error! Couldn't access HTML file +\n"; print "Content-type: text/html\n\n"; while(<HTML>) { print $_; } exit;
Works grand its just that I can't get my images to load.
My scripts are in the cgi-bin dirctory no doubt and and my images are in htdocs\images\. I'm running a win2k machine and apache2.0.47.
I know, I know, its more of a htmll question but I thought I'd chace my luck, it being christmas and all. I've already tried the ovious ones like
"..\htdocs\images\image.jpg"
But I can't figure it out.

Thanks in advance for any help.
div class="pmsig">

Merry Christmas, Eoin...

If everything seems to be going well, you obviously don't know what the hell is going on.


In reply to CGI Image on localhost by eoin

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.