[EMAIL PROTECTED] wrote:

> try using "load/markup" and them use "parse" to
> "do" everything between <rebol> and </rebol>

Hmm, why parse? In REBOL/Apache handler simply some <--[rebol code here]-->

You can get your REBOL code just by a few lines of code ...

 page: {<HTML> blablabla page content ... <--[var1: "ahoy" type-var: func
[stuff][print stuff] type-var var1]--></HTML>}
tmp: find/tail page "<--["
do copy/part find tmp "]-->"

; note - before "doing" your code you should lower the security or just
never run with none security :-)

btw: IIRC there was some web server with so called reblets implemented some
time ago ...

Cheers,
-pekr-

>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 28, 2000 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: [REBOL] REBOL Webserver Re:
>
> I've been meaning to ask about this myself. I think there's a script on
> REBOL.ORG that mentions "REBOL Server Pages".
>
> Meanwhile, I've been working with mSQL on a project. They have a CGI
> that you can call like this:
>
> /cgi-bin/w3-msql/path-to-your-webpage.html
>
> This leverages the protocol where a server tries each element in a path
> to see if it is executable, and launches the first one it finds. I
> haven't tried it, but I guess on Windows it would be
>
> /cgi-bin/w3-msql.exe/path-to-your-webpage.html
>
> Anyway, the w3-msql CGI just parses the Web page and spits it back at
> the browser.
>
> Been wondering if we could do the same with REBOL. The rebol-sp CGI
> would load the Web page, do any scripts it found between <% %> markers,
> and return the result.
>
> If something like this worked, we'd have plug-and-play server pages --
> no server-side configuration changes.
>
> *********** REPLY SEPARATOR  ***********
>
> On 7/28/2000 at 2:10 PM [EMAIL PROTECTED] wrote:
>
> Hi,
>   Does anyone know of any webservers made in REBOL that have Embedded
> REBOL
> using the <rebol></rebol> tags like "RebWeb" But also includes ASP and
> other
> languages like that?

Reply via email to