[REBOL] Re: Can't Open file for Read in CGI
From: tim:johnsons-web at: 15-Apr-2002 8:38
* Brett Handley <[brett--codeconscious--com]> [020415 00:25]:
> Hi Tim,
>
> A shot in the dark. Could you try an experiment?
>
> Try using this:
Hi Brett:
> print read/lines %"/home/tim/.bashrc"
Error is Cannot open /home/tim/.bashrc.
As per my response to pekr, the problem is
with absolute file paths.
I won't have time for another day before
I have time to cofigure a windows box for
rebol CGI, in the meantime, I'm entertaining
the thought that this may be an apache config
problem. This is the first time that I have
attempted absolute file path access w rebol.
My domain is Linux w/apache, so maybe I'll
try this out there.
regards
-tim-
> Brett.
>
> ----- Original Message -----
> From: "Tim Johnson" <[tim--johnsons-web--com]>
> To: <[rebol-list--rebol--com]>
> Sent: Monday, April 15, 2002 1:25 PM
> Subject: [REBOL] Can't Open file for Read in CGI
>
> > Hello All:
> >
> > I have a CGI program that evaluates the following:
> > print read/lines %/home/tim/.bashrc
> >
> > And I get the following error message:
> > Cannot open /home/tim/.bashrc
> >
> > Yet if I evaluate the same command from the
> > rebol console command line in the same directory
> > it works.
> >
> > i.e. : I have the same problem with *any* file that
> > is prepended with an absolute file path.
> >
> > Any input on this is appreciated.
> > Thanks!
> > --
> > Tim Johnson <[tim--johnsons-web--com]>
> > http://www.alaska-internet-solutions.com
> > http://www.johnsons-web.com
> > --
> > To unsubscribe from this list, please send an email to
> > [rebol-request--rebol--com] with "unsubscribe" in the
> > subject, without the quotes.
> >
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.alaska-internet-solutions.com
http://www.johnsons-web.com