• 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
CGI Request Query Part II
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGI Request Query Part II


  • Subject: CGI Request Query Part II
  • From: Steve Thompson <email@hidden>
  • Date: Wed, 7 Nov 2001 16:49:39 +0000

I have just discovered, following my posting of about 10 minutes ago, that this doesn't work either

on handle CGI request
beep
end handle CGI request

or

on handle CGI request this_request
tell application "Finder"
display dialog "Hello"
end tell
end handle CGI request

So, it's clear that I don't understand how this handle CGI request option works when you don't pass it an argument. The fact that I don't get an error message for either of the scripts above implies that the syntax is correct and you can do a "on handle CGI request".

So how do I get a CGI with no parameters to execute, query a couple of scriptable applications and output the result as HTML? I have a script that I thought did that, but http://10.1.0.150/pairerquery.cgi just times out although pairerquery.cgi launches on the server (tried personal Web sharing on 91 and AppleShare IP 6). Also http://10.1.0.150/pairerquery.cgi?p=0 has the same effect.

TIA

Steve





_____________________________________________________________________
This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp


  • Follow-Ups:
    • Re: CGI Request Query Part II
      • From: Brian Johnson <email@hidden>
  • Prev by Date: Re: Using Data From Tab Delimited Text File
  • Next by Date: Re: CGI Request Query Part II
  • Previous by thread: Re: OSX - descriptor type mismatch
  • Next by thread: Re: CGI Request Query Part II
  • Index(es):
    • Date
    • Thread