[REBOL] CGI Script Access Fails On Linux
From: tim:johnsons-web at: 21-Nov-2000 18:00
On Red Hat 6.2,
I have the following script:
#!/usr/bin/rebol -cs
REBOL[]
print "Content-Type: text/html^/^/"
write %test.txt "second try"
when run from the command line, this works as expected.
when run as cgi, this fails with the following error message:
** Access Error: Cannot open /home/httpd/cgi-bin/test.txt.
** Where: write %test.txt "second try"
All permissions to the directory are set to read, write and execute.
Owner is set to nobody
httpd.conf has the following lines:
User nobody
Group nobody
Does anyone have any idea of what else I should do to make
this work!
BTW: print read %test.txt works.
TIA
Tim