Running CGI's locally on OSX

Sarah 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.

Cheers,
Sarah


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 
> own
> machine. The mail lists have snippets, but not enough to put it all
> together.
>
> I put a copy of the darwin engine into
>
> /Library/WebServe/CGI-Executables/
>
> 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 
> deeper
> 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 
> one
> just made a cgi-bin directory in one's own "Sites"  folder, then one 
> could
> set permissions from the terminal.app. But, I don't want to re-invent 
> the
> wheel just now. This has got to be simple.
>
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>





More information about the Use-livecode mailing list