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

[MacPerl] Calling MacPERL CGI via SSI



I'm playing around with the PERL Script Textclock from Matt's Script
Archives. The script is designed to be called from a SSI exec command.
http://www.worldwidemart.com/scripts/textclock.shtml

I compiled the CGI and ran it under my web server. If I call the CGI
directly, it works fine. When I try to call it via SSI from WebSTAR 3.0 it
doesn't work. If I look at the page source, this error is present in place
of the SSI command:

<!-- exec Error: Cannot launch CGI Application. -->

I've tried changing all the SSI settings/restrictions in WebSTAR, but it
still won't work. Normal SSI commands do seem to work.

I had a thought. Can MacPERL CGI scripts be called from SSI?

I'm not really too worried about this particular script, as the
fuctionallity can be done directly via SSI, but I'd like to get it to work
for future reference.

Any related comments would be appreciated.

Thanks,
Marcel

The URL for the test page is:
http://www.marcelbrown.com/clock.shtml

The URL for calling the CGI directly is:
http://cgi.empowering.com/ssi/textclock.cgi

Here's the source for the test page

<HTML>
<HEAD>
<TITLE>Clock Test</TITLE>
</HEAD>

<BODY>
The Current Date/Time is: <!--#exec script="/cgi-bin/ssi/textclock.cgi"-->
</BODY>

</HTML>



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