i posted this before, but i didnt get much of a response, so I'll post it more in detail this time. sorry if this annoys anyone, please dont be POed...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.
______________________________________________
RIP
Douglas Noel Adams
1952 - 2001
In reply to SSI help...
by EvanK
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.