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

Re: Re: ACGI with Mac OS X Server 10.1.5


  • Subject: Re: Re: ACGI with Mac OS X Server 10.1.5
  • From: admin <email@hidden>
  • Date: Wed, 26 Feb 2003 16:32:22 -0600

On Wednesday, February 26, 2003, at 02:32 PM, email@hidden wrote:

Subject: Re: ACGI with Mac OS X Server 10.1.5
From: Clay Loveless <email@hidden>

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.

Nope.

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

Sounds right.

- 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.

I don't think so, I've got one running from the webserver Documents folder.

- .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.

.CGI will send it to Perl, which is the standard Unix CGI language. .acgi should make Apache send the file to ACGI Enabler or link it or however it works (is your ACGI script saved as a stay open application? Cuz it has to be.)

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."

Yeah, I should have given more detail on what I found useful there. The properties of the sample script that are used for building the returned HTML page code, the routines for decoding the POST string from the form, and the "on handle cgi request..." stuff, the return part. Without seeing your script, I don't know if you've got all that or not.

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?

Hysterical laughter ensues. Don't be es-silly. While it may exist somewhere, I've never found anything like it.

Thanks for the assist!
-Clay

HTH

al
_______________________________________________
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.

  • Prev by Date: Re: Scripting MS Word without VBA?
  • Next by Date: Re: Dictionaries was Re: Scripting Mail:get selection
  • Previous by thread: Re: ACGI with Mac OS X Server 10.1.5
  • Next by thread: AppleScript Documentary
  • Index(es):
    • Date
    • Thread