• 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: ACGI with Mac OS X Server 10.1.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ACGI with Mac OS X Server 10.1.5


  • Subject: Re: ACGI with Mac OS X Server 10.1.5
  • From: Clay Loveless <email@hidden>
  • Date: Wed, 26 Feb 2003 09:06:25 -0800

Al,

Thanks for the tip on restarting ACGI Enabler! I've encountered a few things
that are fussy in similar ways.

Unfortunately, that didn't solve the problem. I tried restarting, both via
quitting and via the "restart acgid" menu item. When neither of those
worked, I wondered if ACGI Enabler needs to be running before Apache starts
-- so I stopped both, started ACGI Enabler first and then started Apache ...
Didn't help.

I saw something in another Kbase document that mentioned Classic ... Does
Classic have to be installed & running for this to work smoothly? I can't
believe that it would be, as I'm running a very simple script which requires
no scripting additions.

Other things I've wondered about ...
- Special Apache configuration?
I've got the "Add Handler redirect-acgi acgi" entry in
mime_macosxserver.conf

- Permissions problems?
My test script is in a Virtual Host /cgi-bin/ with the proper ScriptAlias
config entry in my Apache conf file, and has permissions set to 755.

- .acgi vs .cgi?
I've tried both, with different results -- .acgi gives me the "can't
AESend(): -1712" error every time, and .cgi gives me a 500 error, and dumps
a bunch of entries in /var/log/system.log about WindowServer permissions.


The link you included in your response claims "NOTE: AppleScript CGIs are
fully supported with Apache running on Mac OS X Server. See the Mac OS X
Server release notes for more information."

I've looked, but can't see any mention of the "more information" in any of
my OS X Server docs. Have you seen this anywhere?

Thanks for the assist!
-Clay


> From: admin <email@hidden>
> Date: Wed, 26 Feb 2003 10:21:05 -0600
> To: email@hidden
> Subject: Re: ACGI with Mac OS X Server 10.1.5
>
> Just went through this myself a while back. I never found the kbase
> info that you found, I had to ask the list here to learn the _minor_
> detail that ACGI Enabler needs to be running (I added it to my login
> items). If there is a way to make this run even when no one is logged
> in, I'd like to know about it.
>
> I have found that once you get an error in ACGI Enabler, you have to
> clear it by either quitting and starting it again or by using the
> Restart acgid menu item under the File menu in ACGI Enabler.
>
> Additionally, I think you have to return the text of a properly formed
> HTML page, including some header stuff. The example at
> http://www.apple.com/applescript/guidebook/sbrt/pgs/sbrt.12.htm helped
> me with this part.
>
> al
>
> On Wednesday, February 26, 2003, at 09:36 AM,
> email@hidden wrote:
>
>> Date: Wed, 26 Feb 2003 00:02:24 -0800
>> Subject: ACGI with Mac OS X Server 10.1.5
>> From: Clay Loveless <email@hidden>
>> To: applescript <email@hidden>
>>
>> Hi,
>>
>> I'm trying to get started with an AppleScript CGI that will accept
>> form POST
>> data, run a few scriptable apps, and return an informative result page
>> to
>> the browser.
>>
>> I'm using OS X Server 10.1.5 -- so from what I understand, I shouldn't
>> have
>> a problem doing this with Apache. But alas, I'm having problems anyway.
>>
>> It's shocking how little data is available on this topic -- I haven't
>> had
>> any luck finding much of anything so far that doesn't relate to
>> 1995-era
>> AppleScript CGIs using WebSTAR.
>>
>> There's a very brief mention here:
>> http://kbase.info.apple.com/cgi-bin/WebObjects/kbase.woa/wa/
>> query?searchMode
>> =Assisted&type=id&val=KC.106519
>>
>> ... Which says that "ACGI Enabler" needs to be running in order for
>> AppleScript CGIs to work with Apache. I've got that running -- acgid
>> v1.0c9.
>>
>> With every script I try, I get this error: can't AESend(): -1712
>>
>> I think I've got everything configured correctly, but obviously I'm
>> missing
>> something. Does anyone have experiences they can share from using
>> AppleScript CGIs on OS X Server?
>>
>> Thanks,
>> -Clay
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: ACGI with Mac OS X Server 10.1.5 (From: admin <email@hidden>)

  • Prev by Date: Re: AppleScript Documentary
  • Next by Date: Safari - Clear History Cache
  • Previous by thread: Re: ACGI with Mac OS X Server 10.1.5
  • Next by thread: Re: Re: ACGI with Mac OS X Server 10.1.5
  • Index(es):
    • Date
    • Thread