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

Re: [MacPerl] Running MacPerl/Webserver on different machines? (fwd)



According to Aperghis-Tramoni Sebastian:
> 
> As far as I know, there is no way to make MacPerl on a different machine than  
> the one with the Web server. As the two applications must communicate via  
> AppleEvents, I don't think it is possible to make a CGI run on another machine.  

Actually, it doesn't matter which system MacPerl is on so
long as the machine is located on a network system which
the first Macintosh recognizes.  Such as Localtalk.  If you
have one system named Moe and another named Curly, then
MacPerl can be on Moe or Curly so long as they are
connected via Localtalk or Appletalk.

Also, you can have an alias on the Macs now.  This alias
can point to another system where the file resides.
However, both of these two things will probably _not_ make
MacPerl run on the second system.  As you pointed out, it
would be easiest to simply have a separate web server
running on each system.

Lastly, it would probably take having MacPerl open a direct
socket to the calling web browser in order to allow a
separate MacPerl program to run on another system.  This
would require using AppleScript to launch the other
computer's MacPerl, give it the address et al, and then let
it work.

Again, it is simplest to just have another web server up
and running on the second system.  :-)

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch