on 04/17/2001 09:21 PM, Bill Doucet at [EMAIL PROTECTED] wrote:

> If you have a minute I will ask these questions as well - perhaps you or
> someone else in the group can enlighten me a bit more :)
> 
> a) when I specify a pathway, should I use ":" or can I leave the unix "/"

On the Macintosh, you would use : of course, unless on OS X, where obviously
/ would be more apropos. ;)

> b) my cgi's sit in a folder with the following path
> Macintosh HD:*Network Software:webstar:cgi-bin:opensrs:cgi:
> 
> and the config file sits in
> Macintosh HD:*Network Software:webstar:cgi-bin:opensrs:etc:
> 
> When I reference the Library files at
> Macintosh HD:*Network Software:webstar:cgi-bin:opensrs:lib:

so basically from the CGI's standpoint, the config file is in ::etc: (a.k.a.
../etc/) and the library files are in ::lib: (a.k.a. ../lib/)

> do I need to reference all the way out to the root of the machine or just to
> the webstar root? Also, do I start with the ":" or just with Macintosh HD
> (or webstar)?  (If I have these wrong nothing will work)

Use the File::Spec module for this, if the opensrs structure is the same on
Mac and unix and you'll be testing things cross-platform -- it's very useful
for cross-platform development as long as you have duplicate directory
structures to work with.

> c) I have saved the files as CGI's using MacPerl. Does MacPErl have anything
> else to do when serving out the cgi's or does webstar do all the work ( see
> what a neophyte I am :)

Yes, when the CGI's are accessed, they will start MacPerl as part of their
load process. (on non OS X systems anyway) -- also, on non-OS X systems, you
will need to be aware of a few things.

    1> you may or may not need to set the RAM accessible to the .cgi applet.

    2> only one of them can be processing at once. In other words, one
'instance' at a time.
 
> Answers to these questions should keep me busy for a few hours. I have had a
> great support person from OpenSRS look at my files and he thinks they look
> fine. He is however a Unix weenie, not a Mac weenie so he may not understand
> the subtleties of the Mac OS.

:-)

-- 
Scott R. Godin            | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |    web : http://www.webdragon.net/


Reply via email to