[REBOL] Re: webserve.r
From: ryanc:iesco-dms at: 27-Apr-2001 14:09
Cal Dixon's webserv.r? Just make sure you have a www subdirectory, and
it should go. I am running it right now. You might use this for testing:
------------------------------
#!rebol --cgi
REBOL [
Title: "CGI Form Dumper"
Date: 19-July-1999
File: %cgidump.r
Purpose: {
Display the contents of a submitted form as a web page.
Useful for debugging CGI forms.
}
Notes: {
See the cgiform.r file for server instructions.
}
]
print "Content-Type: text/html^/" ;-- Required Page Header
cgi: make object! decode-cgi system/options/cgi/query-string
print [<html><body><h2>"CGI Form Results:"</h2>]
foreach name next first cgi [print [name "is" <B> cgi/:name </B><P>]]
print [</body><html>]
------------------------------
Just give it a url like 10.67.96.3/cgidump.r?test="ok", otherwise it
bombs--this might be your difficulty if your already using it.
--Ryan
Daniel Murrill wrote:
> Hello Rebols'
>
> The question was asked months ago, but i missed the reply.
> If any one nows how to set the %webserve.r,%micro-web serverup to use
> locally for cgi developement, man/(or woman), please respond,
> my hairs thinning out. I'm still learning
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Ryan Cole
Programmer Analyst
www.iesco-dms.com
707-468-5400
I am enough of an artist to draw freely upon my imagination.
Imagination is more important than knowledge. Knowledge is
limited. Imagination encircles the world.
-Einstein