[REBOL] Re: pass variables using #exec cgi
From: mike:prwebcast at: 8-Feb-2001 0:02
On Wednesday, February 07, 2001 11:17 PM
> On Wed, 07 Feb 2001 16:09:12 -0600
> "<[norsepower--uswest--net]>" <[norsepower--uswest--net]> wrote:
>
> > How can I immediately execute a rebol .cgi file when the
> > user browses to the
> > index.html file?
Please forgive me if I'm butting in here, but I just joined this list a few
hours ago - just to have this exact same question answered! What timing!
:-)
I'm in an Active Server Pages environment; my include files are called with:
<!--#include virtual="/path/file.asp"-->
When I try to do:
<!--#include virtual="/cgi-bin/file.r"-->
The server just spits out the Rebol code onto the page as text.
If I try:
<!--#exec cgi="/cgi-bin/file.r"-->
The server ignores this command (viewing the source just shows this code on
the page - as if it were a comment). (ASP doesn't do "exec"?)
If I do:
<a href="/cgi-bin/file.r">file</a>
The page executes correctly.
Any help is greatly appreciated.
Mike Rozack
Internet Developer
PRWebcast
[mike--prwebcast--com]