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

[MacPerl] Troublesome CGIs



Hi all!

I have been browsing the MacPerl list archives, but not having found any
answers I finally decided to join the mailing list to ask my question.
Please excuse a newbie if I'm way outta line asking this kind of question
here...

Intro:
I wanted to help my brother with some kind of forum/BBS/chat service on
his site. So I got a hold of Darryl Burgdorf's WebBBS Perl script
(http://awsd.com/scripts/webbbs/index.shtml) and converted it to Mac and now try to
run three separate forums on a Mac server (Quid Pro Quo 2.1).
Never having used/seen MacPerl before, I think I did good  :-)
The forums are at...
http://cgi.dicom.se/fuchsias/webbbs/fuchsiaforum.acgi
http://cgi.dicom.se/aotrg/forum/aotrgforum.acgi
http://cgi.dicom.se/aotrg/forum/rosforum.acgi

Problem:
After some random time (anything from seconds to hours) some, or all, of
the cgi "applications" will hang. This is evident in the QPQ log, where
calls to the cgi's generate 0 bytes in return. Browsers get "Doc. contains
no data" after a 30 sec timeout.
CGIs act funny when hung. They will not respond to the "Quit Now" button.
I always end up quitting QPQ, MacPerl and then force-quitting the cgis
and rebooting the server.

More info:
Running Swedish System 7.6.1 (tried MacOS 8.1 too), QuidProQuo 2.1 (tried
WebStar 2.1), MacPerl 5.1.9r4 patchlevel 5.004 on a PPC 6100/80 40Mb.

Speculation:
Is this because MacPerl gets confused by handling three concurrent
scripts? I tried calling them just .cgi, but no luck. Is this an error in
AppleScript? Thats why I tried Mac OS 8.1 with AS 1.1.2. Same errors.
Is it the Swedish OS? Am I just stupid trying to get this to work?
Can I get this to run as pure .pl files? Standalone cgis? Will that help?

Anyone wants to help with this? Any ideas? I'm at the end of a rope
here...
I'll be more than happy to send the Perl source over to anyone who wants
to take a look. (Basically, I just changed unix delimiters to Mac style
colons). 

/petern



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