i dont know if i have apache2. dont know hw to find dat out. i added the use cgi::ssi statement. but it still doesnt seem to work. the cgi file name is local.cgi. the file which i am reading within the local.cgi page is called forcgi.shtml. and the contents of frame.txt are being included in the directive include command written on the forcgi.shtml page. the rest of the contents of the file forcgi.shtml are being displayed, but the include command written on the forcgi.shtml page which includes the contents of frame.txt , doesnt seem to work. so i cant see the contents of frame.txt, on the local.cgi page. the problem could even be the virtual or file tag, in the include command on the forcgi.shtml page. forcgi.shtml and frame.txt are both in the same directory, while the local.cgi page is inside the cgi-bin directory. i dont even know from which directory my webserver runs my cgi pages. thanx... ketaki

In reply to Re^2: including the content of a .shtml file into a cgi page by ketaki
in thread including the content of a .shtml file into a cgi page by ketaki

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.