Running CGI's locally on OSX

Sivakatirswami katir at hindu.org
Thu Jul 4 00:11:01 EDT 2002


OK, see previous post... I "hit the books" and was able to do the following

Put the Darwin engine in the two places  /Users/katir/Sites/cgi-bin/

And also in the /Library/WebServer/CGI-Executables/

I figured out how to use the terminal.app on OSX and went in and CHMOD
everything to  755 (both engines in both places, the cgi-bin in my own Sites
folder and my test script below.)

#! /mc
On startUp
Put "hello"
End startUP

If I invoke the cgi from my browser

http:/my.machine.ip/~katir/cgi-bin/test-mc.cgi

It just returns the ascii text of the cgi... I.e. Nothing is executed...
Same thing happens if I change the path to the engine to:

#! /Library/WebServer/CGI-Executables/mc


Still no go... 

Any clues?


Hinduism Today

Sivakatirswami
Editor's Assistant/Production Manager
katir at hindu.org 
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org

Read The Master Course Lesson of the Day at
http://www.gurudeva.org/lesson.shtml




More information about the Use-livecode mailing list