Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: forbidden
Pages: [1] Print
Author Topic: forbidden  (Read 132 times)
castor75
Newbie
*
Offline Offline

Posts: 5


View Profile
forbidden
« on: July 18, 2008, 09:42:08 AM »

hello,

i test rebol but i have this word forbidden etc... when i go to hello.r
perhaps hello.r is chmod 0755
what can i do
thanks
Logged
notchent
Newbie
*
Offline Offline

Posts: 40


View Profile WWW
Re: forbidden
« Reply #1 on: July 18, 2008, 10:04:58 AM »

How are you trying to run hello.r?  From a Rebol console, as cgi, etc.?
Logged

castor75
Newbie
*
Offline Offline

Posts: 5


View Profile
Re: forbidden
« Reply #2 on: July 18, 2008, 10:09:49 AM »

i'm a beginner with serveur.
i run hello.r directly from IE.
Logged
castor75
Newbie
*
Offline Offline

Posts: 5


View Profile
Re: forbidden
« Reply #3 on: July 18, 2008, 01:52:12 PM »

when I try to open a file .r directly by the web I have forbidden ...
When I pass by the console and I tape  rebol/ file path / hello.r, I  have == / hello.r
when I  tape do % / file path / hello.r, the file is opened, but I see all the html code.
I hope that with these explanations  you can help me in my research.
Logged
rebolnotes
Newbie
*
Offline Offline

Posts: 23


View Profile
Re: forbidden
« Reply #4 on: July 24, 2008, 02:23:47 PM »

This worked for me: install http://www.uniformserver.com/
create a test.cgi file under cgi-bin directory with this code:

#! “/usr/bin/rebol.exe” -cs
REBOL []

print “Content-type: text/html^/”
print [<html><body> “REBOL CGI Works!” <p> </body></html>]

print [”Date/time is:” now “<p>”]
print [mold system/options/cgi “<p>”]
print [mold system/options/cgi/query-string “<p>”]

then browse to http://localhost/cgi-bin/test.cgi
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: forbidden
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 05, 2008, 11:38:12 PM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2233 Posts in 581 Topics by 1854 Members
Latest Member: Vqxykkpz

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc