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

[REBOL] path question

From: kpeters:vu-ware at: 7-Aug-2005 14:02

Hi ~   Linux/Rebol 2.5.6.4.2   I want to check the existence of a file from a cgi script and my code works well if I use an absolute path.   I do have problems using a relative path though:   My script resides off the document root in cgi-bin and the file I want to check for in httpdocs, also off the document root.   filename:  rejoin [ %<what goes here?>  destpage ".html" ]  either exists? filename [    print "have it" ][    print "???" ]   I believeI have exhausted all possible variations I can think of. Can someone shed some light?   Thanks, Kai