On 12/21/08, Tim Stephens <t...@tjstephens.com> wrote: > > > > On 21 Dec 2008, at 17:02, "Mark Syder" <marksy...@gmail.com> wrote: > > Hi everybody. > > I'm using an Intel iMac and just taking my first steps into CGI > programming. I've followed the instructions on > http://www.cgi101.com/learn/connect/mac.html concerning setting up > httpd.conf for CGI and I've put a perl file called first.cgi into > /Library/WebServer/Documents and also into /Library/WebServer/CGI-Examples > (with execute permissions) but when I type http://localhost/first.cgi into > my browser window it displays the contents of the file instead of running > the program. > > > Did you restart apache? sudo apachectl--restart > > Tim > Thanks Tim. It's actually sudo apachectl -k restart but you pointed me in > the right direction and it's now working. > Thanks also to Brian for replying, but Tim's advice sorted it. There's no > stopping me now! Off to the shops to buy a Perl CGI book tomorrow. > Mark > > > >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Low End Mac's iMac List, a group for those using G3, G4, G5, and Intel Core iMacs as well as Apple eMacs. The list FAQ is at http://lowendmac.com/imac/list.shtml and our netiquette guide is at http://www.lowendmac.com/lists/netiquette.shtml To post to this group, send email to imaclist@googlegroups.com To unsubscribe from this group, send email to imaclist-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/imaclist?hl=en Low End Mac RSS feed at feed://lowendmac.com/feed.xml -~----------~----~----~----~------~----~------~--~---