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

Re: [MacPerl] MacPerl and WebSTAR



> Does anyone know if this is possible?

Yes, it is.  But I have never use WebSTAR.

I _really_ worked cgi-application on Macintosh Performa630.

I used MacPerl5.06, MacHTTP2.2 and MPCGI.  As you known, HacHTTP is
previous version of WebSTAR.  Previous version of MacPerl requires
MPCGI to save Perl script as cgi application; now you need not to
use it, because this feature seems builted MacPerl5.13 in.

Therefoer, you should to prepare two applicatoins:

        1)      MacPerl

                        the newer is the better

        2)      MacHTTP or WebSTAR

                        previously, MacHTTP exist in info-mac.
                        recently I can only find it in umich such as
                        <ftp://wuarchive.wustl.edu//systems/mac/umich.
                        edu/util/comm/machttp2.2.sit.hqx>

> Is it something that I have to configure within MacPerl?

Nothing in MacPerl.

What you should do is writing cgi applicatoin and saving it as "CGI Script".
You can find pull-down menu on Save-File-Dialog on MacPerl.  Pull it untill
"CGI Script" is selected.

> Does MacPerl have to be installed on the server?

Yes.  The macintosh that MacPerl and MacHTTP/WebSTAR are installed is
your WWW server.

Therefore you must assign static IP address to your macintosh.

> Does MacPerl need to be running continuosly?

Needless.  If www cliant request cgi-application to work, MacHTTP/WebSTAR
order MacPerl to run.

While MacPerl, MacHTTP/WebSTAR must be running continuously.

> Do I need to specify a cgi-bin(s)?

I do not know about WebSTAR.  On MacHTTP, needless to assign.
Unfortunatelly, you can not configure MacHTTP much more.

> Am I approaching this from too much of a UNIX standpoint?

It is not easy to answer.

MacPerl has a lot of differences from that of UNIX.

You must not expect to work "fork" and related feature:
i.e. pipe, system, open(..."| ..") and so many.

You must not expect all UNIX based command to work:
i.e. `command`, functions begin with 'get', flock, and so many.
Some of them are implimented.

So, if you never use such feature, you can do well.

And you cannot control access by using file permitions.
for all type of users, one file has only one permition:
-rw-rw-rw or -r--r--r--
Is it not true on WebSTAR, I don't.


-------------------
Mamoru Yamanishi <yama@biotech.okayama-u.ac.jp>
+81-86-251-8196(voice) & +81-86-253-7399(GIII type FAX)
Biotech. Dept., Okayama Univ.



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