From: owner-macperl-webcgi-digest@macperl.org (macperl-webcgi-digest) To: macperl-webcgi-digest@macperl.org Subject: macperl-webcgi-digest V1 #1 Reply-To: $SENDER Sender: owner-macperl-webcgi-digest@macperl.org Errors-To: owner-macperl-webcgi-digest@macperl.org Precedence: bulk macperl-webcgi-digest Thursday, February 25 1999 Volume 01 : Number 001 ---------------------------------------------------------------------- Date: Tue, 16 Feb 1999 17:26:24 -0800 From: Vicki Brown <vlb@cfcl.com> Subject: [MacPerl-WebCGI] This is a test of the macperl mailing lists If anyone is out there, you might want to reply. You might want to try the digests. Take a look at http://www.macperl.org:8873/depts/mlists.html We expect the lists to go public, oh, tomorrow? If there be anyone here who have just cause why these here lists shall not be mentioned yet, let him speak now... - --- |\ _,,,---,,_ Vicki Brown <vlb@cfcl.com> ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres |,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066 '---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org ------------------------------ Date: Wed, 17 Feb 1999 15:39:02 -0500 From: Richard Gordon <gordon@mindspring.com> Subject: [MacPerl-WebCGI] Relevancy Rating Schemes I know how to create a Perl search engine for a web site that will return a list of hits linked back to the corresponding files, but how do you create a ranking system that will let you order the results by degree of relevancy? If the search term is just one word, it seems to me that every result would be 100 (on a 0-100 scale); if it was two words in an "OR" search, a hit would either be 50 or 100, etc. I assume that I am not considering something obvious since ranking schemes don't appear to actually work that way. Thanks for any explanations of this voodoo. 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 macperl-webcgi-request@macperl.org ------------------------------ Date: Mon, 22 Feb 1999 07:51:34 -0700 From: jason white <jason.white@usu.edu> Subject: [MacPerl-WebCGI] Anything doin'? Just wondering if there's any activity here yet? I signed up about a week ago...and haven't seen anything. I signed up digest, so that might be the issue. Just wondering... Jason - ------------------- Jason White <Insert Title Here> jason.white@usu.edu ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org ------------------------------ Date: Thu, 25 Feb 1999 07:01:54 -0500 From: "Peter R. Wiley" <prdesign@sunlink.net> Subject: [MacPerl-WebCGI] SSI & HTTP headers I'd like to have a CGI called from an SSI set a cookie. I've tried to make this work (on an Apache server) and I just can't. I thought that all one would need to do is: print "Set-Cookie: cookie=whatever\n\n"; but this does nothing at all, although it works just find in non SSI CGIs. I've asked the ISP webmaster who has said some cryptic things about SSI being difficult to get to work . . . so they don't "officially" support it Can anyone help? Peter R. Wiley PR/Design 301 South 21st Street Lewisburg, PA 17837-1615 Phone: 570-522-0738 Fax: 570-522-0736 E-Mail: prdesign@sunlink.net ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org ------------------------------ Date: Thu, 25 Feb 1999 10:15:18 -0500 From: Richard Gordon <gordon@mindspring.com> Subject: [MacPerl-WebCGI] ACGI Problems 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. This looks/feels very much like MacPerl is running out of gas, but I've got 10 megs allocated to it. The ACGI itself hangs and won't go away except via a force quit. Am I correct in understanding that the ACGI would not be likely to benefit >from an increase in memory since it is just passing AE on to MacPerl, or does it also deal with the output and assist in directing it to the web server? Does anyone have any other suggestions about how to contend with this kind of thing? BTW, I've been fighting this off and on for several months and the last time I tested this stuff in MkLinux using Apache, I didn't encounter the problem. Is it more likely that the stalls are related to MacPerl itself or the limits of the Mac web servers (neither of which actually hang or anything, they just return the bad gateway error). 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 macperl-webcgi-request@macperl.org ------------------------------ Date: Thu, 25 Feb 1999 11:56:24 -0500 From: Paul Miller <pmiller@spectrumtelecorp.com> Subject: [MacPerl-WebCGI] Re: [MacPerl] ACGI Problems >BTW, I've been fighting this off and on for several months and the last >time I >tested this stuff in MkLinux using Apache, I didn't encounter the problem. >Is it >more likely that the stalls are related to MacPerl itself or the limits of >the >Mac web servers (neither of which actually hang or anything, they just return >the bad gateway error). Thanks. > >Richard Gordon >Gordon Consulting & Design >Voice: 770-565-8267 Fax: 770-971-6887 I ran into a similar problem when trying to set up a CGI to save uploaded files. Below a certain size, it ran fine. If the file got too big, however, bam. The CGI script hung and wouldn't stop and the system got real unstable fast. My guess is that it has something to do with the way MacPerl talks to the server and the CGI via AppleEvents. Is there some practical limit on how much data can be passed? I ended up moving the whole thing over to a unix box and it works fine, all the time. There's gotta be a better way... paul ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org ------------------------------ Date: Fri, 26 Feb 1999 00:53:21 -0500 From: Richard Gordon <gordon@mindspring.com> Subject: [MacPerl-WebCGI] Re: [MacPerl] ACGI Problems On 2/25/1999 at 11:09, bva@cruzio.com (Bruce Van Allen) wrote: > 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. That's kind of interesting and depressing at the same time. Anyway, I just got thru installing this stuff on a client's Sun server box and it ran fine, so it's some kind of Mac thing. BTW, I used telnet to run some file processing scripts on the content in preparation for actually testing the cgi's. I was absolutely astounded by the Sun's Perl speed- it manipulated, rewrote and indexed 4000 pages of html in less than 20 seconds. 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 macperl-webcgi-request@macperl.org ------------------------------ End of macperl-webcgi-digest V1 #1 ********************************** ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org