[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: SSI
I found it best to create a module ssi.pm that I included in my CGI's and
it had a very simple interface ssi::parse($document). You just called
this whenever you wanted SSI to happen.
I never got it nice enough to deal with putting it on CPAN, but it worked
pretty well. It's at http://fourfish.com/ssi.pm (I won't support it ;-)=.
-Erik
On Wed, 1 Sep 1999, Ryan Hertz wrote:
> ****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com> ******
>
> At 03:51 PM 9/1/99 , you wrote:
> >****** message to minivend-users from Dmitriy Katsman
> <katsman@aa.acinc.com> ******
> >
> >I think because you cannot use SSI with CGI parsed pages... I've been
> >having the exact same problems... and with the same utility (AXS)...
> >
> >as far as I know... SSI and CGI is incompatible..
>
> From the Apache-FAQ:
>
> 17. How can I have my script output parsed?
>
> So you want to include SSI directives in the output from your CGI
> script, but can't figure out how to do it? The short answer is "you
> can't." This is potentially a security liability and, more importantly,
> it can not be cleanly implemented under the current server API. The
> best workaround is for your script itself to do what the SSIs would be
> doing. After all, it's generating the rest of the content.
>
> This is a feature The Apache Group hopes to add in the next major
> release after 1.3.
>
> The latest stable version of Apache is 1.3.6 -- maybe someday you can...
>
> >I wrote my own little CGI proggie that accepts <img src=../../my.cgi
> >width=1 height=1> and logs the user... :)
>
> There has been discussion of calling another CGI from inside a Minivend
> page, I believe there is a solution. I'd recommend looking at the mailing
> list archives.
>
> >
> >
> >
> >On Wed, 1 Sep 1999, Cameron Prince wrote:
> >> How would I prevent MiniVend from striping this command from the html in
> the
> >> pages directory?
> >>
> >> <!--#exec cgi="/cgi/ax.cgi" -->
> >> (This is a logging utility)
> >>
> >> I have associated SSI with .html files and the script above runs fine on
> all
> >> my pages except the ones that are parsed by MiniVend.
> >> It's as if MiniVend is striping them out or is preventing them from running
> >> correctly for some reason.
> >> I looked over the list and I found a couple of messages about SSI, but
> >> nothing solid enough to fix my problem.
>
> >
>
> Ryan Hertz tel 800-645-BAIT
> Webmaster fax 520-645-2588
> Advertising Director http://www.insideline.net
> Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com
- References:
- Re: SSI
- From: Ryan Hertz <rhertz@gyb.baits.com>