THANKS all.... I won't get to test all this great advise for a few more hours, (gotta leave my day job) but i will let ya'll know. my first task is to get this guy's laptop online to download latest MacPerl, I have 5.0 but i guess there is a new version....? ----- Original Message ----- From: "Richard Smith" <unfeasibly_tall@yahoo.com> To: <macPerl-webcgi@macperl.org> Sent: Thursday, March 16, 2000 3:48 PM Subject: Re: [MacPerl-WebCGI] help with cgi & macPerl > An important thing to remember when running scripts > locally is that the file references are all different > in MacPerl, ie a file referred to as > > /rootFolder/subFolder/targetFolder/file.html > > will have to be changed to > > :rootFolder:subFolder:targetFolder:file.html > > I got fed up of changing all my file references when I > uploaded CGI's to my site, sO I use an AppleScript to > tell BBEdit to find and replace all the root folder > refs. > > If your CGI is searching your site, it may be affected > by this anomoly. > > Hope that helps a bit. > > Richard > > -- > ________________________________________ > Richard Smith > Artist/ Illustrator/ Site Designer > richard@team-artonomy.com, ICQ #29343811 > Visit us at http://www.team-artonomy.com/ > > > --- Alvy <alvy@wncmarket.com> wrote: > > Hello, > > > > We have a web site that runs fine on the net, with a > > search cgi, we now need a portable version of the > > website to run on a ibook (mac os9). > > The web site runs file locally on the ibook until > > the search form cgi is used. > > I have read and scanned the post archive and found > > lots (too much ) information. > > This is what i have done so far. > > 1. made a folder on the harddrive called "webroot", > > within that folder are the website and a cgi-bin > > folder. > > 2. Turned on Web Shareing, address 10.0.0.0 . > > Selected the "webroot" as the web folder. > > 3. Set the TCP/IP setting to AppleTalk(mac IP), > > configure "using macip manually" IP address > > "10.0.0.0" > > 4. Set TCP/IP to active > > 5. Installed MacPerl > > 6. Run MacPerl > > 7. Set the first line of the .cgi file to #!perl > > 8. open the location (rather than open page) of > > 10.0.0.0 and i get the web site fine. > > 9. When i enter a term into the search text box and > > hit search, after some time i get a page loaded > > saying "A CGI or internal server componet could not > > complete the requested action" > > > > Does this mean that everything is running ok, but > > the script is not configured for MacPerl? > > Or does it mean there are some other things i am > > missing? > > > > I did not want to take up too much space and post > > the cgi script , however , I could post or send them > > to anyone for help. > > > > Thanks so much for any advise..... > > > > > > > > Best Regards, > > > > Alvy > > > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://im.yahoo.com > > ==== Want to unsubscribe from this list? > ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org > ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org