* Petr Krenzelok <[EMAIL PROTECTED]> [020415 01:50]:
> Tim Johnson wrote:
> 
> >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!
> >

  Hello Pekr:

> What about access rights? Your Apache is running in Nobody mode, maybe 
> you set incorrect rights to your file so it is not visible to CGI 
> script? 

  Same access rights as any other file I'm doing I/O with in CGI.
  
> You can also try to run your cgi script from your unix console - 
> switch to the directory where your script resides and type its name and 
> press enter - should work too ...
 
  Works fine, had checked that too....

  The problem as I see it is with *absolute* file paths. (In cgi mode)
  Example: via .. for any number of levels (relative path) works too 
  in CGI.
  I am beginning to suspect it is an apache config.

  Thanks! 
  -tim-
  
> -pekr-
> 
> 
> -- 
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.

-- 
Tim Johnson <[EMAIL PROTECTED]>
      http://www.alaska-internet-solutions.com
      http://www.johnsons-web.com
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to