Dan Shafer dan at
Sun Dec 17 20:07:01 EST 2006


Any of several things could cause what you're seeing. My first guess in such
situations is always that the line endings in the file you create in
TextEdit are not set to Unix-style line endings but are rather Mac line
endings. That's one of many reasons I use BBEdit for such files rather than
TextEdit. I assume you have TextEdit set to create text rather than RTF but
even if you do, I think TextEdit does not normally produce Unix-style line

If that's not the problem, post a reply and we can do some further detective


On 12/17/06, Mark Smith <mark at> wrote:
> I'm trying make a really simple text-file cgi (on OS X)., which I've
> done in the past without difficulty.
> I create a new document in textEdit. I copy the script from
> "" (the script that comes with the Rev installation, I think)
> into my new textEdit document.
> I save it as "". in the CGI-Executables folder. I chmod it's
> permissions to 755.
> I type "http://localhost/cgi-bin/" into the Safari URL field.
> I get "Internal Server Error".
> I type "http://localhost/cgi-bin/" into Safari URL field. I
> get the expected listing of globals.
> When I get "the detailed files" from the CGI-Executables folder, I
> can see that the permissions for "" are indeed 755.
> So, I simply duplicate the "" file, and rename it to "".
> I type "http://localhost/cgi-bin/" into the Safari URL field.
> I get the expected listing of globals.
> I am now completely baffled. What have I missed out?
> Can anyone shed some light?
> Thanks,
> Mark
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list