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

[MacPerl] 502 Bad Gateway?



I am trying to get a MacPerl cgi to run reliably that just cloaks some
server directories by taking a file name from the link, completing the path,
and opening the requested file in the browser. It wasn't working at all a
few days ago, then I figured out that a link to a missing external style
sheet was the problem. Now I find that while some files open as expected,
many fail when the thing is run from the browser, but everything works in
offline mode.

What happens is that I click the link for something like
http://128.0.0.1/cgi-bin/load.acgi?book=jude.html, we sit around for a
while, then I get a 404 error with either a -1700 or -1701 error mentioned
in Netpresenz, or a 502 Bad Gateway error in OS8.5 Web Sharing. When I go to
the running cgi to click quit now, nothing happens. From that point on, even
if I use a link to a file that I know does work, I get the same errors. If I
force quit the cgi and then use the link to one of the working files, it
runs fine. As far as I know, all of these files are substantially similar
and are just html files that were tagged in Windoze and are perfectly
normal. 

The -1700 and -1701 codes in Netpresenz sound like AppleScript for can't
make data into expected type and missing parameter, but I don't see how that
could be. I thought maybe this had something to do with Perl buffering and
file sizes, but some of the files that work are bigger than the ones that
don't, so I guess not.

If anyone has any thoughts on this, I'd sure like to hear from you. Thanks.

Richard Gordon
Gordon Consulting & Design
Voice: 770-565-8267  Fax: 770-971-6887



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