View previous topic :: View next topic |
Author |
Message |
Gerard -
Joined: 13 Feb 2007 Posts: 2
|
Posted: Tue Feb 13, 2007 6:12 am Post subject: Running Rebol scripting |
|
|
I am trying to get REBOL scripting to work with Abyss Webserver but keep getting an error 404 file not found message. Maybe anyone has any
insight or experience with this, your input will be greatly appreciated.
This is what I did:
1) Created folder <webserver>/cgi-bin
2) Followed the steps as described on this website as to set it up for PHP
3) Created a simpe cgi script "rebol.cgi" and placed it in cgi-bin:
#!c:\vanilla\rebol.exe -cs
REBOL [Title: "Server Time"]
print "content-type: text/html^/"
print [<HTML><BODY>]
print ["Date/time is:" now]
print [</BODY></HTML>]
4) start from browser with
localhost:8000/cgi-bin/rebol.cgi _________________ Gerard |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Feb 13, 2007 11:20 am Post subject: Re: Running Rebol scripting |
|
|
Gerard,
You cgi-bin folder cannot be found unless it is inside the Documents Path (by default htdocs/) or unless an alias is declared for it. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Gerard -
Joined: 13 Feb 2007 Posts: 2
|
Posted: Wed Feb 14, 2007 5:34 am Post subject: |
|
|
Thank you for your response.
1) I've moved the cgi-bin folder under the htdocs
(though it seems different than the user manual says at page 6)
I also had to set the CGI/ISAPI type to "Standard" an then it worked fine.
Thanks. _________________ Gerard |
|
Back to top |
|
|
|