Re: Scripting ACGI for Personal Web Sharing
Re: Scripting ACGI for Personal Web Sharing
- Subject: Re: Scripting ACGI for Personal Web Sharing
- From: email@hidden
- Date: Fri, 19 Oct 2001 10:05:40 EDT
Rob,
Check out
http://www.linkedresources.com/teach/applescript/writingCGIs.shtml
I'm not sure why you're using that goofy URL; is 45613 the port you're
serving on? And, I don't know exactly what you're wanting to achieve with the
"launch at suffix" approach, but I was able to make it work (at least to go
thru the motions) without modifying my CGI in any way.
If you are using AS 1.6, the CGI will already need to be running in order to
respond correctly. This should be fixed in 1.7 (Chris Nebel, when will we see
this update?).
Jeff Baumann
email@hidden
www.linkedresources.com
cc please, on digest
In a message dated 10/19/01 12:08:51 AM, Rob Lewis wrote:
>
Has anyone succeeded in writing a CGI in AppleScript for use as an action
>
with Personal Web Sharing?
>
>
I copied Chuck Shotton's example in his book, and all I get in the PWS log
>
when I try to access it is:
>
>
10.0.0.210 - Rob [18/OCT/2001:21:27:03 -0700] "GET /foo.eml HTTP/1.0" 502
>
196
>
>
And my browser reports:
>
>
An unknown or unspecified error has occurred. Error code -502.
>
Unable to access http://mightymac.local:45613/foo.eml
>
>
(foo.eml is a dummy file that's supposed to trigger the "launch at suffix"
>
action. It is located in PWS's Web Pages folder.)
>
>
Other than this, PWS appears to work normally.