Running CGI's locally on OSX
sarahr at genesearch.com.au
Wed Jul 3 23:49:01 EDT 2002
You can use "sudo" in Terminal to do things which normally require root
permission. You should be able to navigate to the folder OK. I make
great use of the tab key to auto-complete path names, so type "cd /L" &
then press tab. It should fill in Library. Then type "Web" and press
tab, then "CG" & tab again. This should have filled in the complete path
for you to navigate to.
Then if you try "chmod 755 myTest.cgi" you will probably get "permission
denied". If so, try "sudo chmod 755 myTest.cgi". When it asks for a
password enter your normal login password and it all should happen OK.
Use "ls -la" to list all the files with their permissions visible so you
can check that it has worked.
On Thursday, July 4, 2002, at 02:15 PM, Sivakatirswami wrote:
> I have moved up to OSX (it's wonderful) and want to develop CGI's on my
> machine. The mail lists have snippets, but not enough to put it all
> I put a copy of the darwin engine into
> But, that's as far as I can get, the terminal.app on -ls returns only my
> user directory. "/" returns permission denied...so OSX won't let me
> than my own user directory to CHMOD 755 to make the engine executable.
> Anyone figure this out yet? If so, suggest you would help us all to
> write a
> small FAQ on the subject.
> Now, I am wondering if we need to use that library at all, really, if
> just made a cgi-bin directory in one's own "Sites" folder, then one
> set permissions from the terminal.app. But, I don't want to re-invent
> wheel just now. This has got to be simple.
> 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