[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] ACGI Problems



Richard Gordon wrote:

>Using MacPerl ACGI's with NetPresenz and/or Apple Web Sharing, I keep running
>into problems with stallouts. The scenario is that I call the ACGI from a link
>and it opens a file, extracts a portion of it, and returns that to the
>browser.

>That appears to work fine until I've run it 3-4 times in a row, then I
>eventually get a 502 bad gateway error even if it's just trying to
>retrieve the same chunk of text it already pulled in once before.

and Dennis Little wrote:
>If you happen to find the solution to this one, let me know.  I've had a
>similar but worse problem of lockups running a VERY simple cgi/acgi (take
>information from the form and mail it to one address -- no additional
>parsing needed).  After between 2-5 runs, my machine locks up completely
>(no mouse movement, clock stopped, etc).


I remember discussion here related to CGI/ACGI on Mac servers a few months
ago. One important conclusion was this: don't run your scripts as ACGI;
Save with ".cgi" not ".acgi" as the suffix.

HTH.

- Bruce

# ~~~~~~~~~~~~~~~~~~~
# Bruce Van Allen
# bva@cruzio.com
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Director
# WireService, an Internet service bureau
# Serving the educational and nonprofit sectors
# wire@wireservice.org
# http://wireservice.org
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch