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

Re: [MacPerl] MacPerl + CGI + Apple's personal web sharing



On 1/20/99 at 23:36, skorpine@dipoli.hut.fi (Santtu Korpinen) wrote:

> How to get MacPerl + CGI + Apple's personal web sharing to work together?
> I'm trying to run Perl CGI scripts with Apple's Personal Web Sharing.
> In the Personal Web Sharing's preferences I can specify which application
> should be launched in case the file suffix is .pl (perl). I'm trying to
run
> perl script
> "daytime1.pl". The only way I can get the script to run is to select it to
> be the program
> to be launched in case the suffix is .pl. The problem this way is that the
> only script that my
> "server" can run is the "daytime1.pl".
> 
> Thanks a lot for your help!

That's interesting because I had not even noticed that you could set
preferences in Web Sharing. Anyway, I've never had a problem (at least of
that kind) running scripts under Apple Web Sharing, but that's because I
save the scripts as file type CGI with .acgi as the extension instead of
.pl. This creates some maintenance problems when it's time to ship scripts
out to a unix server as the files are no longer plain text (and must be
resaved as text) and it's annoying that BBEdit can't be used with them, but
they will run fine under Web Sharing. At least if you are patient. :-]

Richard Gordon
Gordon Consulting & Design
Voice: 770-565-8267  Fax: 770-971-6887



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