CGI Frustration
andu
undo at cloud9.net
Wed Jan 22 12:55:00 EST 2003
--On Wednesday, January 22, 2003 11:32:43 -0600 Ken Ray
<kray at sonsothunder.com> wrote:
> OK, I'm finally trying to get MC set up as a CGI. I have an ISP that uses
> Linux, so I DL'ed the linux engine and uploaded it to my cgi-bin folder. I
> set the permissions to 755, and have a simple script called "test.mt" that
> sits in the cgi-bin folder as well, and its permissions are 755. The
> script is this...
>
># !linux
Try #!mc and make the script executable too.
>
> on startup
> put "Hello World!" into tResponse
> put "Content-Type: text/html" & crlf
> put "Content-Length:" & (the length of tResponse) & crlf & crlf
> put tResponse
> end startup
>
> ... and I keep getting an internal server error 500. I tried exactly the
> same thing on another ISP using BSD (with the exception of the first line
> being "#!mc"), and got the same result. I'm convinced I'm just not calling
> it properly... any ideas?
>
> Thanks for any help anyone can provide.
>
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
Regards, Andu Novac
More information about the metacard
mailing list