• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can any tell me about error -1701?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: can I make a list of records?
  • Next by Date: Re: OS X test for Class Folder...continues
  • Previous by thread: Re: Can any tell me about error -1701?
  • Next by thread: Save Me
  • Index(es):
    • Date
    • Thread