Re: Serving scripts locally
[email protected] (Richard Proctor) Tue, 23 May 2000 21:02:06 +0100 (BST)
| Newsgroups | perl.riscos |
|---|---|
| Message-ID | <[email protected]> |
On Tue 23 May, Colin Mackinlay wrote: > Is it possible to configure my RiscPC with !Perl so that I can run and > test cgi-bin scripts locally? > > Is it easy? > > What do I have to do? > I have never managed to set it up to run cgi scripts directly. I do test my scripts (300+ now), but not through the browser (unfortunatly). Some people have managed to get !Netplex to run in a way to test scripts I have failed (more than once). !Netplex if it works at all only works with a cgi-bin not with a large real website that allows scripts anywhere. What I do is put a wrapper in standard code in all scripts so that I can test them easily from the command line in a taskwindow I allow any script to take argumenets from either the command line separted with space as it is more natual or & so that they look like on the servers. Or through a command file. Using this I can test 80% of the functionilty of the scripts easily - the rest have to be tested on the real sites. Richard (I manage 8 websites now 3 with full cgi, 2 with limited and 3 with none) -- [email protected]