i'm just gonna go over everything again and hope someone can help me...my site structure is like this:
html (the root directory) | |--index.htm | |--cgi-bin | |--serve.cgi | |--ads | |--ads.cgi
now, in both index.htm and serve.cgi, is the ssi tag: <!--#exec cgi="/cgi-bin/ads/ads.cgi" --> in index.htm, the ssi tag works fine, but in serve.cgi, all i get is [an error occurred while processing this directive]. i tried changing the path in the ssi tag to "/ads/ads.cgi" in the script, but that didnt work.

I'm on a freebsd 4.2 server with perl v5.005_03 for i386-freebsd. i tried Option +Includes and #exec cmd too, and that just gave me a bunch of 500 errors.

i even tried moving index.htm to a subdirectory of /html, and serve,cgi to the same subdirectory, and the tag still worked in index.htm, and it still DIDNT work in serve.cgi. i'm all out of ideas, any help would be greatly appreciated.

______________________________________________
When I get a little money, I buy books. If I have any left over, I buy food and clothes.
-Erasmus


In reply to Re: How do I get cgi scripts parsed for ssi by way of the .htaccess file? by EvanK
in thread How do I get cgi scripts parsed for ssi by way of the .htaccess file? by EvanK

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.