[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] UNIX



[snip]

>I access my server by remote (from home) all the time and it
>gets to be a hassle to have to wait 5 minutes for the compiled CGI to
>quit on it's own before I can upload a small change to test it out.  A
>lot of what I do will not display properly in the Mac Perl interface.  I
>have to upload it and run it to see what it will look like in a
>browser.

[snip]

In situations like this, I use Netpresenz or Quid Pro Quo running on my
home machine to test CGIs. They're both low overhead, easy to set up and
use, and work with CGIs the same as Webstar in almost every case (at least
every one I've run across).

By doing that, you can keep your web browser, the server, your CGI, and
MacPerl running (if you have enough memory, that is- it doesn't take a lot
for just those) and update the CGI very easily, both serving and browsing
from your home machine. Just upload the final product when you're done. If
your CGI needs a specific environment (files and such) in which to run, it
usually isn't hard to duplicate by downloading the files from the server.
This also eliminates the possibility of damaging some important file on the
server.

- strider( corinth );

P.S.	Can anyone think of a problem with just including a
MacPerl::Quit(2) line at the end of the CGI to force it to quit when it's
finished? If you don't want to go to the trouble of downloading the servers
and running everything locally, that should solve your problem directly.


--

Therefore we do not lose heart. Though outwardly we are wasting away,
yet inwardly we are being renewed day by day. For our light and momentary
troubles are achieving for us an eternal glory that far outweighs them all.

2 Corinthians 4:16, 17


  |
--+--
  |
  |



===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org