[Date Prev][Date Next][Thread Prev][Thread Next]
[Search]
[Date Index]
[Thread Index]
[MacPerl] test a cgi script
My problem is this: while trying to run a cgi script I found on a web site, I succeeded in crashing my host's server. This resulted in my host telling me that if I ran that script again they would disable my cgi-bin. Well . . . this naturally has caused me to have much concern over putting any other scripts into my cgi-bin and trying to use them. So . . . I want to be able to test a script without being connected to the internet to make certain that it works all right on my web site.
My question is this: Is it possible to simply use MacPerl to take the place of the pointer to usr/bin/perl so that I can determine whether a script is going to bomb out? I tried to just insert the path in one of my scripts to point to my local copy of macperl but obviously it didn't work. Am I biting off more than I can chew? Is there a simple solution or is it going to be really complex?
Thanks for any info that you can pass along to me. I'm trying to learn but the more I get into this, the more involved things become.
Art
Please make note of our new address if you haven't already. It's jcac@CMAchurch.org (you could use all small letters if you wanted to do so)
Have you checked our web site recently? It changes daily. http://CMAchurch.org
Remember: A PC is a lot like an air conditioner. It works fine until you open windows.