You wrote:
The html file is generated by a perl script, if that makes it any more relevant to this forum.

Do you mean that a script creates a file, e.g. foo.html located in your webserver document tree and when a user gives the URL to the file it isn't served? Are you sure the file is named .htm or .html?

Or more likely, you probably don't mean that the script creates a file, but rather that a CGI script sends a CGI header and content to a browser (e.g. user clicks on foo.cgi or foo.pl). In that case are you sure that apache is set up to serve files with those extensions, and that CGI-scripts are executable in that location?

Either way, it sounds like you should look in your apache config for the answer.

In reply to Re: getting the html to the browser by jZed
in thread getting the html to the browser by hesco

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.