Running CGI's locally on OSX
sarahr at genesearch.com.au
Thu Jul 4 22:31:01 EDT 2002
This is probably a stupid question, but have you switched on Web sharing
in the Sharing system pref?
There was an example of using OS X's web server on the list a while ago
and it put this in the first line of the cgi:
What is your engine's file name? I presume it is "mc" since that is what
you use as the first line of your script.
On Thursday, July 4, 2002, at 03:10 PM, Sivakatirswami wrote:
> OK, see previous post... I "hit the books" and was able to do the
> 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
> folder and my test script below.)
> #! /mc
> On startUp
> Put "hello"
> End startUP
> If I invoke the cgi from my browser
> 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
> 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
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the Use-livecode