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

[MacPerl-WebCGI] Re: [MacPerl] test cgi without connection



At 1:26 AM +0200 7/14/99, patp@psynet.net wrote:
>Excuse my question but I begin with MacPerl. I try to find a method to test
>CGIs without connecting to the Internet.
>
>patP


For MacOS 8 and 8.1 at least, you can try this:

Set your TCP/IP control panel as follows:

Connect via:  AppleTalk (MacIP)
Configure:  Manually
IP Address:  10.0.0.10
Subnet mask:  255.255.255.0


The ip address and subnet mask are arbitrary.  You
could use other values if you like.  The main trick
here is to Connect via: AppleTalk.  If you're not
connected to the 'Net, and you don't have an ethernet
connection active on your computer, MacOS defaults to
AppleTalk on the Printer Port in the AppleTalk control
panel.  So if you set up TCP/IP to connect via
AppleTalk, then TCP/IP will correctly load when you
try to launch internet applications, like your web
server and web browser.

Hope that helps.
-Eric



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