[Xitami] ssi/cgi weirdness
Control-Freak
xitami@lists.xitami.org
Fri, 31 May 2002 16:55:50 -0400
Strange,
I got a white page with:
broadcast
accidentals
work and non work
----- Original Message -----
From: "niall munnelly" <aleph@aleph-null.net>
To: <xitami@lists.xitami.org>
Sent: Friday, May 31, 2002 4:30 PM
Subject: [Xitami] ssi/cgi weirdness
> hello -
>
> here's me:
>
> Xitami Web Server v2.5b4
> beos r5
> pentium ii 400 mhz
> 384 mb ram
>
>
> i ran into a few snags with ssi and cgi stuffs today, maybe someone here
can
> help (i'd sure be appreciative)...
>
> i've enabled the #exec function of SSI and it kicks out my little cgi
program
> nicely enough:
>
> <!--#exec cgi="/cgi-bin/nowplaying.cgi"-->
>
> playing now:
> i am spoonbender - mr. knife, miss fork - sender-receiver
>
>
> a duplicate page, using <!--#include virtual="/cgi-bin/nowplaying.cgi"-->
> instead gives me this:
>
> playing now:
> #!/bin/sh
>
> current=`/boot/home/config/bin/wget -O - -q
> http://radio.vietnambla.com/nowplaying.html`
> #echo Content-type: text/html
> echo
> echo $(echo $current | sed s/\/\ \-\ /g) echo
>
>
> outputting the actual executable, rather than the expected results.
>
>
> so there's part one. part two:
>
> <!--#exec cmd="ls"--> (just for giggles, pwd doesn't work eother)
>
> yields this in the webpage:
>
> [xitami SSI: syntax error in #echo variable]
>
>
> so, am i missing something here>
>
> thanks in advance....
>
>
> --
> yours,
> niall.
> .. . . . . . . . . .
> aleph null. a simple insinuation around
silence.
> see: http://www.vietnambla.com hear: http://radio.vietnambla.com
>
> .. .bebox.audio. ..
> playing now: swans - love of life - omniscience
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami