[WinMac] Mac web stuff (was Re: MacOS 9: Upgrade now or wait?)


Leonard Rosenthol(leonardr[at]lazerware.com)
Fri, 29 Oct 1999 12:18:08 -0400


At 8:48 AM -0600 10/29/99, John Hanks wrote:
>I am about to get my new G4 with OS/9 (a 450 BTW *mumbles profanities to
>self*) and will be initially using it for a quick and dirty web page
>project.

        Good for you!

>Basically it will consist of a single form that calls a CGI script
>(probably written in Perl). The CGI will run another program, format the
>results and mail them to an address submitted on the form. I have never set
>up a webserver on a mac and would like advice on a cheap (ie free) webserver
>and a way to send mail from a CGI script on a Mac (maybe this is built into
>Perl?).

        Well, just like Windows, the MacOS comes with a "Personal Web
Server" that can run CGI's - so if you're only going to be using this
for a "quick & dirty project", that's an option. If you want
something more capable, there is a great shareware web server called
NetPresenz you should look into.

        If you are going to use MacPerl for the CGI (which is fine),
then I believe that it has EMail capabilities, just like Perl on
other platforms. If not, you can always use AppleEvents/AppleScript
from Perl to control your EMail client of choice. (you'll probably
have to use some of that anyway to control the other program since
that's how MacOS programs talk to each other - remember no command
line or stdin/stdout).

>Another approach would be to do the web stuff on my existing NT/IIS
>webserver (where I already know how to do all this) and just call the Mac
>for the program (which is Mac-only by the way). Is there an easy way to have
>an NT machine ask a Mac to run a program for it, something like rsh or
>rexec?
>
        There isn't an "easy" way, but you could use a protocol like
XML-RPC to do it...

Leonard

----------------------------------------------------------------------------
                   You've got a SmartFriend in Pennsylvania
----------------------------------------------------------------------------
Leonard Rosenthol Internet: leonardr@lazerware.com
                                        America Online: MACgician
Web Site: <http://www.lazerware.com/>
FTP Site: <ftp://ftp.lazerware.com/>
PGP Fingerprint: C76E 0497 C459 182D 0C6B AB6B CA10 B4DF 8067 5E65

*** Windows-MacintoshOS Cooperation List ***
FAQ: http://www.darryl.com/winmacfaq/
Archive: http://www.darryl.com/winmac/

To unsubscribe, send mail to winmac-request@lists.best.com
with just the word "unsubscribe" in the body of the message.



This archive was generated by hypermail 2.0b2 on Fri Oct 29 1999 - 10:28:24 PDT