Rebol CGI on PWS
[1/10] from: moeller_thorsten::gmx::de at: 16-Oct-2001 12:48
Hi,
i have a Win98 and PWS running and like to test some Rebol CGI's.
The problem i have is that calling the script ends up in an /View-Console
Window.
Is there something i missed to configure?
I have /view and /core installed, but poiting to /core in CGI's first line.
Can anybody help or knows a place where i can find some docs?
Thorsten
[2/10] from: phil:hayes:cnutarch at: 16-Oct-2001 21:41
Are you using the -cs command line switches ?
Phil
[3/10] from: moeller_thorsten:gmx at: 17-Oct-2001 12:06
Hi Phil,
yes, for testing purposes i use the script from the /core documentation.
I think it must have something to do with /view installation which makes an
.r association during installation.
Don't know where to switch it off in Win98!
Thorsten
[4/10] from: hallvard:ystad:helpinhand at: 17-Oct-2001 13:08
I think the problem is that Windows interprets all .r files as rebol scripts if they
are of type text/plain. Make sure your CGI scripts return "Content-type: text/html^/"
or something else that cannot be interpreted as plain text.
Hope that helps.
~H
Du skrev (12.06 17.10.2001):
[5/10] from: michal:kracik at: 17-Oct-2001 12:45
Hi Thorsten,
to delete the .r association in Windows 98:
run explorer.exe, select menu View/"Folder Options"/"File Types",
delete "REBOL Script" from the list.
or
run regedit.exe, find and delete key HKEY_CLASSES_ROOT\.r
Hope this helps,
Michal Kracik
[6/10] from: moeller_thorsten:gmx at: 18-Oct-2001 9:53
Hi,
thanks for your comments. I removed every association to .r but it is still
not running.
I removed the /view Browser plugin as well, think this is the reason for
makig such trouble.
Nothing changes. Still get a browser-window with the script-code.
I tried several kinds of lines pointing to the rebol/core exe but the result
is still the same.
Any ideas left?
Thorsten
[7/10] from: matt:blis at: 18-Oct-2001 9:10
Thorsten Moeller <[moeller_thorsten--GMX--De]> wrote on 18/10/01 08:53:06:
>Hi,
>thanks for your comments. I removed every association to .r but it is still
<<quoted lines omitted: 5>>
>is still the same.
>Any ideas left?
I know that if I try to run a script with CRLF line endings on my Linux server that
it fails, but with normal *nix line endings it's fine.
Perhaps there's something similar happening in your case.
Matt.
[8/10] from: al:bri:xtra at: 18-Oct-2001 21:36
> Nothing changes. Still get a browser-window with the script-code.
Have you tried restarting your computer?
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
[9/10] from: michal:kracik at: 18-Oct-2001 10:49
Hi Thorsten,
are you sure if you configured PWS for REBOL correctly? It does not work
out of the box
like Apache for Windows. There's a page describing PWS
configuration at:
http://www.jansfreeware.com/articles/pwsrebol.html
I tried the procedure here and it works.
Hope this helps,
Michal Kracik
[10/10] from: alekk:obywatel:pl at: 18-Oct-2001 11:06
----- Original Message -----
From: "Thorsten Moeller" <[moeller_thorsten--GMX--De]>
To: <[rebol-list--rebol--com]>
Sent: Thursday, October 18, 2001 9:53 AM
Subject: [REBOL] Re: Rebol CGI on PWS
> Hi,
>
> thanks for your comments. I removed every association to .r but it is
still
> not running.
>
> I removed the /view Browser plugin as well, think this is the reason for
> makig such trouble.
>
> Nothing changes. Still get a browser-window with the script-code.
>
> I tried several kinds of lines pointing to the rebol/core exe but the
result
> is still the same.
>
> Any ideas left?
>
> Thorsten
Have you modify your registry?
Look at:
<http://www.codeconscious.com/rebol/rebol-net.html#UsingRebolCGIwithPersonal
WebServer>
greets
Alekk
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted