[REBOL] Re: pass variables using #exec cgi

2001-02-08 Thread <[EMAIL PROTECTED]>
For the record, "yes" I was using a .shtml file, not .html. 8-) Here is how I solved the problem: Instead of an index.shtml file, I use an index.cgi file which executes a REBOL script as follows: #!cgi-bin/rebol -cs REBOL [] print "Content-Type: text/html^/" ;-- Required Page Header pri

[REBOL] Re: pass variables using #exec cgi

2001-02-07 Thread Kevin McKinnon
On Wed, 7 Feb 2001, <[EMAIL PROTECTED]> wrote: > How can I immediately execute a rebol .cgi file when the user browses to the > index.html file? > > For example, the following doesn't seem to work... > > I just tested this on a Linux server running Apache -- it worked fine. If the parameter

[REBOL] Re: pass variables using #exec cgi

2001-02-07 Thread Mike Rozack
On Wednesday, February 07, 2001 11:17 PM > On Wed, 07 Feb 2001 16:09:12 -0600 > "<[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> 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

[REBOL] Re: pass variables using #exec cgi

2001-02-07 Thread Graham Chiu
On Wed, 07 Feb 2001 16:09:12 -0600 "<[EMAIL PROTECTED]>" <[EMAIL PROTECTED]> wrote: > How can I immediately execute a rebol .cgi file when the > user browses to the > index.html file? > > For example, the following doesn't seem to work... > >

[REBOL] Re: pass variables using #exec cgi

2001-02-07 Thread GS Jones
Hi, Ryan, Could be several problems. First, for Apache, you likely will need to change the file's extension to .shtml. This is the file extension that the server intercepts in order to act on the commands. If that doesn't fix the problem, then depending on which directory the index.shtml file i