Running Rebol scripting

 
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI
View previous topic :: View next topic  
Author Message
Gerard
-


Joined: 13 Feb 2007
Posts: 2

PostPosted: Tue Feb 13, 2007 6:12 am    Post subject: Running Rebol scripting Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Feb 13, 2007 11:20 am    Post subject: Re: Running Rebol scripting Reply with quote

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 View user's profile Send private message Send e-mail
Gerard
-


Joined: 13 Feb 2007
Posts: 2

PostPosted: Wed Feb 14, 2007 5:34 am    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> FastCGI/CGI All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group