First CGI attempt
Monte Goulding
monte at sweattechnologies.com
Fri Apr 25 03:39:00 EDT 2003
Hi Mark
Doublecheck that the first line of your cgi is:
#!mc
if mc is located in the cgi-bin or:
#!<full path of mc> if it's located elsewhere
Also doublecheck you are doing what the WebServer expects by outputting the
length of the output then cr&cr then the output
Cheers
Monte
> -----Original Message-----
> From: metacard-admin at lists.runrev.com
> [mailto:metacard-admin at lists.runrev.com]On Behalf Of Mark Talluto
> Sent: Friday, 25 April 2003 3:53 PM
> To: metacard at lists.runrev.com
> Subject: First CGI attempt
>
>
> I am venturing out into new territory. Let me tell you that this is
> very exciting for me! I have visited Ken Ray's excellent page
> regarding his CGI tip. You can find that at:
> http://www.sonsothunder.com/devres/metacard/tips/cgi001.htm
>
> My setup:
> OS 10.2.5
> running installed Apache Webserver
> Using terminal on same machine
> Installed the darwin MC executable and my cgi script (saved with unix
> line breaks)
> Set the chmod of both files to 755
>
> I followed Ken's site very closely. I SSH into the cgi-executable
> folder and ran the following line: ./mc simple-cgi
>
> The mesage "hello world" popped up! I was so excited. I went to my
> browser. Typed: 192.168.1.0/cgi-bin/simple-cgi
> and got the Internal Server Error 500. If it worked in terminal,
> shouldn't it work in the browser? I feel I am getting close to making
> this work. Please get me the rest of the way. Thanks!
>
>
> Best regards,
> Mark Talluto
> http://www.canelasoftware.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
More information about the metacard
mailing list