checked manually with file:///C:/Server/Apache2/cgi-bin/pics/PD4.jpg.IT works.

file: is not http: If you're trying to debug a problem with http://localhost.... you don't reach for file:

not sure about this

Yeah, the file: bit gave it away, which is why you should take the time now to learn about the internet.

This is one way you might check

$ lwp-request -USEd http://127.0.0.1:5000/ GET http://127.0.0.1:5000/ User-Agent: lwp-request/6.00 libwww-perl/6.02 200 OK Date: Thu, 05 May 2011 11:36:49 GMT Date: Thu, 05 May 2011 11:36:49 GMT Server: HTTP::Server::PSGI Content-Length: 6064 Client-Date: Thu, 05 May 2011 11:36:49 GMT Client-Peer: 127.0.0.1:5000 Client-Response-Num: 1

no error on the log.Its just that everything works except the image.

unlikely

is there any work around if apache wont server images ?

Either don't keep images in cgi-bin, or configure apache to serve images from cgi-bin (I'm assuming its possible).


In reply to Re^3: image not shown in my web page by Anonymous Monk
in thread image not shown in my web page by Anonymous Monk

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.