<HTML>
<HEAD>
<TITLE>Re: CGI Darwin and Rev</TITLE>
</HEAD>
<BODY>
<FONT FACE="Geneva">On 8/29/02 1:55 PM, "Yennie@aol.com" <Yennie@aol.com> wrote:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE="Geneva"><FONT SIZE="2">One thought: the Darwin engine probably expects POSIX-style paths, as does Metacard 2.4.3 (and most likely Rev 1.5?).<BR>
<BR>
Does the script work with relative paths?<BR>
<BR>
I would try with this style path:<BR>
<BR>
/Library/WebServer/Documents/somefile.txt<BR>
<BR>
instead of something like:<BR>
<BR>
/Macintosh HD/Library/WebServer/Documents/somefile.txt<BR>
<BR>
<BR>
HTH,<BR>
Brian<BR>
<BR>
<<After following the cgi thread, I successfully created the obligatory "Hello<BR>
World" cgi script. However after experimenting further with "get URL<BR>
tURLArticlePath",? I realized that the server (local Apache runing on OS X<BR>
10. 1.5) would return an empty string. I'm wondering whether this is because<BR>
of it being an unsupported feature of the Darwin version of the MetaCard<BR>
engine, or is it something much more arcane? I should add that locally,<BR>
using the Rev environment this works without a hitch. If any sapient<BR>
CGI/Rev/Apache/Pearl-knowing guru could explain why, I'd be...>><BR>
<BR>
<BR>
</FONT><BR>
</FONT></BLOCKQUOTE><FONT FACE="Geneva"><BR>
Hi Brian,<BR>
<BR>
The <FONT SIZE="2">tURLArticlePath contains an absolute path like “http://www.whatever.com/folder/file.html.” It works locally from Rev environment, but doesn’t work from the local server. What’s worse, is that if you put “return or put the result”, you get nothing either. I tried using open file tURLArticlePath foe read, but no luck as well. <BR>
</FONT>-- <BR>
Tim<BR>
</FONT>
</BODY>
</HTML>