CGI Darwin and Rev

Yennie at aol.com Yennie at aol.com
Thu Aug 29 12:57:01 EDT 2002


One thought: the Darwin engine probably expects POSIX-style paths, as does 
Metacard 2.4.3 (and most likely Rev 1.5?).

Does the script work with relative paths?

I would try with this style path:

/Library/WebServer/Documents/somefile.txt

instead of something like:

/Macintosh HD/Library/WebServer/Documents/somefile.txt


HTH,
Brian

> <<After following the cgi thread, I successfully created the obligatory 
> "Hello
> World" cgi script. However after experimenting further with "get URL
> tURLArticlePath",  I realized that the server (local Apache runing on OS X
> 10. 1.5) would return an empty string. I'm wondering whether this is 
> because
> of it being an unsupported feature of the Darwin version of the MetaCard
> engine, or is it something much more arcane? I should add that locally,
> using the Rev environment this works without a hitch. If any sapient
> CGI/Rev/Apache/Pearl-knowing guru could explain why, I'd be...>>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020829/344bc6b2/attachment.html>


More information about the use-livecode mailing list