Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: CGI directory access questions

From: jason:cunliffe:verizon at: 5-Sep-2002 6:33

> My guess would be that your problem isn't a CGI-specific one, but just > a case of REBOL's standard security level settings. REBOL runs in a > sandbox, and any attempt to access files outside of it causes a > warning. See "Security Issues" in the Core Guide's "Operation" > section here... > > http://www.rebol.com/docs/core23/rebolcore-2.html > > for how to alter the security levels. > > Hope that puts you on the right track.
Thanks Carl, I have tried all the obvious permutations already using 'secure, including changing he bangpath with my script to: #!/home/rebol/rebol -c --secure allow Then it simply prints "REBOL" to the browser. and does nothing else.. My guess is that the problem is a bit of both [CGI and 'secure]. The script works OK as an executable, but not from CGI, when writes into another current directory. Q: Is it possible to write to another directory via CGI? I can't find anything about this, nor in any CGI script examples so far.. This wonderful but addictive x-internet language really needs better internet documentation. ./Jason