Re: Can any tell me about error -1701?
Re: Can any tell me about error -1701?
- Subject: Re: Can any tell me about error -1701?
- From: Michael Britt <email@hidden>
- Date: Mon, 28 Jan 2002 09:52:39 -0800
Thanks to Mr. Tea and Brian Johnson for the off list help. Brian suggested
that I:
>
try returning ONLY static text.
>
Then you don't need ANY parameters. Just return (the header)&"hello" as a
>
"basic function" test.
Based on his advice I put up:
on handle CGI request
set crlf to (ASCII character 13) & (ASCII character 13)
set the Html to "HTTP/1.1 200 OK" & crlf & "Content-type: text/html" &
crlf & crlf
set theHtml to "<html><head><title>Test Page</title></head><body
bgcolor=#ffffff>" & ,
"This is a Test" & "</body></html>"
return theHtml
end handle CGI request
Doing so, helped me run my first successful CGI (can you tell that I am
easily excited).
Original question:
>
>> When I try out acgi scripts on my server I get: "Error receiving results
>
>> from ACGI execution. (-1701)"
Michael Britt
email@hidden