From yharris@example.net Fri Mar 01 12:22:13 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 13032 invoked by uid 500); 1 Mar 2002 12:22:12 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 13019 invoked from network); 1 Mar 2002 12:22:12 -0000 Message-ID: <yharris@example.net> Date: Fri, 01 Mar 2002 14:21:58 +0200 From: Issac Goldstand <yharris@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020104 X-Accept-Language: en-us MIME-Version: 1.0 To: yharris@example.net Subject: [ANNOUNCE] Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4G888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Thumbnail-0.03 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Changes: Cache control headers are returned to the browser BEFORE the thumbnail is generated now (why I didn't do this originally is beyond me :-)) The uploaded file Apache-GD-Thumbnail-0.03.tar.gz has entered CPAN as file: $CPAN/authors/id/I/IS/ISAAC/Apache-GD-Thumbnail-0.03.tar.gz size: 2589 bytes md5: cecadf3fdfa04f6aa50d94243a49ed0e From yharris@example.net Fri Mar 01 13:39:43 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 65809 invoked by uid 500); 1 Mar 2002 13:39:42 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 65785 invoked from network); 1 Mar 2002 13:39:42 -0000 From: Axel Andersson <yharris@example.net> To: <yharris@example.net> Subject: Blank pages Date: Fri, 1 Mar 2002 14:39:35 +0100 Message-Id: <yharris@example.net> X-Mailer: CTM PowerMail 3.1.2 <http://www.ctmdev.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I run a mod_perl/mysql site, which works fine most of the time. Some pages, however, come out completely blank. Reload.. and hey presto, it works. Now, I realize this could be practically anything, so I'm just asking if anyone has come across something similar. I use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI 0.88 for database connections, Apache 1.3.23 and mod_perl/1.2. Strange thing is, nothing shows up in the error log, even using -w. Well, it's a longshot, but thanks anyway. Axel Andersson -- yharris@example.net http://www.animanga.nu/morris/ 31. With intagible breath in center of forehead, as this reaches heart at the moment of sleep, have direction over dreams and over death itself. From yharris@example.net Fri Mar 01 13:43:04 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 69696 invoked by uid 500); 1 Mar 2002 13:43:04 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 69683 invoked from network); 1 Mar 2002 13:43:03 -0000 content-class: urn:content-classes:message Subject: RE: webmail for mod_perl? MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 1 Mar 2002 07:42:52 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <yharris@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: webmail for mod_perl? Thread-Index: AcHAsmEoebqdwsbmQiKE6JznYIREYAAdERjw From: "Joe Breeden" <yharris@example.net> To: "will trillich" <yharris@example.net>, <yharris@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N We use a combination of Mail888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4IMAPClient and MIM888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Lite. You can look at = http://howtos.eoutfitters.net/email for a description of our email = servers. The mod_perl IMAP client handler has not been completed enough = to release to the community, but once it is ready I put an announcement = here. > -----Original Message----- > From: will trillich [mailto:yharris@example.net] > Sent: Thursday, February 28, 2002 5:49 PM > To: yharris@example.net > Subject: webmail for mod_perl? >=20 >=20 > is there a sane implementation of webmail-style mod_perl > modules for apache? >=20 > we're looking to offer email access online through > apache/mod_perl similar to what folks get at yahoo/egroups -- > and we're hoping to find some mod_perl code that'll hook into > pop/imap email servers. (and we're hoping to avoid loading php > into ram.) i saw a thread in the archives (begun on Wed, 12 Dec > 2001 by Medi Montaseri) but most of the suggestions seemed to > point to php. we're hoping to stick with mod_perl. :) >=20 > rtfm welcome if you specify which fm to r. :) thanks... >=20 > --thanks! >=20 > --=20 > Legalize Liberty. > =20 > yharris@example.net > http://sourceforge.net/projects/newbiedoc -- we need your brain! > http://www.dontUthink.com/ -- your brain needs us! >=20 From yharris@example.net Fri Mar 01 16:55:37 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 2395 invoked by uid 500); 1 Mar 2002 16:55:37 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 2381 invoked from network); 1 Mar 2002 16:55:37 -0000 Message-ID: <yharris@example.net> Date: Fri, 01 Mar 2002 11:55:42 -0500 From: Fran Fabrizio <yharris@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: yharris@example.net Subject: RegistryLoader Segmentation fault Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I'm trying to follow the script in section 2.14 of the book "mod_perl Developer's Cookbook" in order to pre-load my Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4registry scripts using Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RegistryLoader. I'm getting a seg fault when I attempt to start apache. My startup.pl is as follows: #!/usr/local/bin/perl use lib qw(/usr/local/apache/lib/perl); use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4DBI; use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Registry; use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RegistryLoader; use DBI; use 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Pg; use strict; use CGI qw(-compile :all); use DirHandle; my $rl = Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RegistryLoader->new; my $dh = DirHandle->new("/usr/local/apache/cgi-bin/chimpkit/") or die $!; foreach my $file ($dh->read) { next unless $file =~ m/\.pl$/; print STDOUT "Pre-loading $file\n"; $rl->handler("/cgi-bin/chimpkit/$file","/usr/local/apache/cgi-bin/chimpkit/$file"); } 1; When I attempt to start apache, I get the following messages on STDOUT: [root@castle bin]# ./apachectl start Pre-loading chimpworks.pl Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Debug: [level 1] Compiled package "Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4ROOT888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4gi_2dbin888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4himpkit888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4himpworks_2epl" for process 27233 at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache/RegistryLoader.pm line 76. ./apachectl: line 171: 27233 Segmentation fault (core dumped) $HTTPD ./apachectl start: httpd could not be started [root@castle bin]# Nothing has been written to the error log. The format of my $rl->handler() call seems ok to me. I perused the archives for a while and tried a couple of things that fixed other people's RegistryLoader problems, to no avail. Everything works fine if I comment out the call to handler() except of course now each child has a copy of the compiled code. Any thoughts? Thanks, Fran From yharris@example.net Fri Mar 01 17:42:46 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 44037 invoked by uid 500); 1 Mar 2002 17:42:45 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 44024 invoked from network); 1 Mar 2002 17:42:45 -0000 From: "Dermot Paikkos" <yharris@example.net> To: yharris@example.net Date: Fri, 1 Mar 2002 17:42:19 -0000 MIME-Version: 1.0 Subject: statINC or startINC ?? Reply-to: yharris@example.net Message-ID: <3C7FBD7B.21051.EA3668@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi System info: Slackware linux 8.0 (2.2.19), Apache/1.3.20 (Unix) Embperl/1.3.4 mod_perl/1.26 I'm a completely newbie and have a problem with your installation. I think my problems are mainly to do with environment variables, specifically @INC. The error log has the following: Undefined subroutine &Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startIN888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler called. I have a statINC at not a startINC. So I modified the httpd.conf accordingly. However I still get: Undefined subroutine &Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4statIN888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler called. As I don't know how to manually change @INC, I have added the paths to the PERL5LIB env variable (in my .cshrc) but this does not take effect till I log in. So the server does not start unless I am logged in and start it manually as it can not find statINC.pm. Even then http requests generate the above error. So I guess I need to know how to make the PERL5LIB variable available to Apache from its first initialisation (would that be the startup.pl or the UID of the httpd process?). I also need to make sure that this is variable persists. I hope that makes sense. Thanx. Dp. PS: Should my static site still work after installing mod_perl? it doesn't. ~~ Dermot Paikkos * yharris@example.net Network Administrator @ Science Photo Library Phone: 0207 432 1100 * Fax: 0207 286 8668 From yharris@example.net Fri Mar 01 18:01:09 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 62293 invoked by uid 500); 1 Mar 2002 18:01:07 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 62280 invoked from network); 1 Mar 2002 18:01:07 -0000 X-Authentication-Warning: dragosani.chapelperilous.net: bmccoy owned process doing -bs Date: Fri, 1 Mar 2002 13:05:27 -0500 (EST) From: "Brett W. McCoy" <yharris@example.net> To: Dermot Paikkos <yharris@example.net> cc: yharris@example.net Subject: Re: statINC or startINC ?? In-Reply-To: <3C7FBD7B.21051.EA3668@localhost> Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 1 Mar 2002, Dermot Paikkos wrote: > So I guess I need to know how to make the PERL5LIB variable > available to Apache from its first initialisation (would that be the > startup.pl or the UID of the httpd process?). I also need to make sure > that this is variable persists. PerlSetVar PERL5LIB <path> should accomplish this. You can also do use lib '<path>'; in your scripts to have them search the correct path to modules that aren't in @INC. I also use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Reload. See the appropriate documentation (it talks about using Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Reload as a drop-in for StatINC). -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ My mother wants grandchildren, so I said, "Mom, go for it!" -- Sue Murphy From yharris@example.net Fri Mar 01 18:07:36 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 67860 invoked by uid 500); 1 Mar 2002 18:07:35 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 67838 invoked from network); 1 Mar 2002 18:07:35 -0000 Date: Fri, 1 Mar 2002 18:07:38 +0000 (GMT) From: David Wright <yharris@example.net> X-X-Sender: yharris@example.net To: Dermot Paikkos <yharris@example.net> cc: yharris@example.net Subject: Re: statINC or startINC ?? Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: David Wright <yharris@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Dermot, > I'm a completely newbie and have a problem with your installation. I > think my problems are mainly to do with environment variables, > specifically @INC. The error log has the following: > > Undefined subroutine &Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startIN888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler called. > > I have a statINC at not a startINC. So I modified the httpd.conf > accordingly. However I still get: > > Undefined subroutine &Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4statIN888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler called. Have you tried Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4StatINC? - note the case. If you can do 'perl -MApach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4StatINC -e 42' on the command line without any errors, then PerlInitHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4StatINC in your httpd.conf should be fine as well. > As I don't know how to manually change @INC, I have added the > paths to the PERL5LIB env variable (in my .cshrc) but this does not > take effect till I log in. So the server does not start unless I am > logged in and start it manually as it can not find statINC.pm. Even > then http requests generate the above error. perldoc -f use If you have a set of custom modules that you need Apache to find, something like: <Perl> use lib '/directory/root/of/your/modules' ; </Perl> in your conf should work. david wright From yharris@example.net Fri Mar 01 18:43:58 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 93456 invoked by uid 500); 1 Mar 2002 18:43:58 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 93441 invoked from network); 1 Mar 2002 18:43:57 -0000 Date: Fri, 1 Mar 2002 18:43:32 +0000 (GMT) From: Ged Haywood <yharris@example.net> To: Fran Fabrizio <yharris@example.net> cc: yharris@example.net Subject: Re: RegistryLoader Segmentation fault In-Reply-To: <yharris@example.net> Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi there, On Fri, 1 Mar 2002, Fran Fabrizio wrote: > using Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RegistryLoader. I'm getting a seg fault when I attempt to > start apache. Read mod_perl/SUPPORT. Did you compile your own Perl, mod_perl and Apache? You might be better off with Perl version 5.6.1 instead. Are you using DSO? 73, Ged. From yharris@example.net Fri Mar 01 18:48:37 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 99590 invoked by uid 500); 1 Mar 2002 18:48:37 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 99501 invoked from network); 1 Mar 2002 18:48:36 -0000 From: "Dermot Paikkos" <yharris@example.net> To: yharris@example.net Date: Fri, 1 Mar 2002 18:48:10 -0000 MIME-Version: 1.0 Subject: Summary: statINC or startINC ?? Reply-to: yharris@example.net Message-ID: <3C7FCCEA.20634.126829E@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanx to Dave Wright and Bret McCoy. The problem was with my httpd.conf. It had: <IfModule mod_perl.c> perlFreshRestart On perlInitHandler Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4statINC perlModule Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Registry PerlModule Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Status PerlModule Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Leak PerlModule DBI PerlModule AuthDBI PerlModule OutputChain PerlModule EmbperlChain PerlModule HTML888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mbperl PerlModule DBI PerlModule 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mysql ..... After upper-casing the perl* bits and StatINC and HUP the server my static site came back and the errors disappeared. Dp. ----------------- Original message below ------------------ Hi System info: Slackware linux 8.0 (2.2.19), Apache/1.3.20 (Unix) Embperl/1.3.4 mod_perl/1.26 I'm a completely newbie and have a problem with your installation. I think my problems are mainly to do with environment variables, specifically @INC. The error log has the following: Undefined subroutine &Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4startIN888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler called. I have a statINC at not a startINC. So I modified the httpd.conf accordingly. However I still get: Undefined subroutine &Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4statIN888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4handler called. As I don't know how to manually change @INC, I have added the paths to the PERL5LIB env variable (in my .cshrc) but this does not take effect till I log in. So the server does not start unless I am logged in and start it manually as it can not find statINC.pm. Even then http requests generate the above error. So I guess I need to know how to make the PERL5LIB variable available to Apache from its first initialisation (would that be the startup.pl or the UID of the httpd process?). I also need to make sure that this is variable persists. I hope that makes sense. Thanx. Dp. PS: Should my static site still work after installing mod_perl? it doesn't. ------- End of forwarded message ------- ~~ Dermot Paikkos * yharris@example.net Network Administrator @ Science Photo Library Phone: 0207 432 1100 * Fax: 0207 286 8668 From yharris@example.net Fri Mar 01 18:54:22 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 5318 invoked by uid 500); 1 Mar 2002 18:54:22 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 5305 invoked from network); 1 Mar 2002 18:54:22 -0000 Date: Fri, 1 Mar 2002 18:54:18 +0000 (GMT) From: Ged Haywood <yharris@example.net> To: Axel Andersson <yharris@example.net> cc: yharris@example.net Subject: Re: Blank pages In-Reply-To: <yharris@example.net> Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi there, On Fri, 1 Mar 2002, Axel Andersson wrote: > I run a mod_perl/mysql site, which works fine most of the time. Some > pages, however, come out completely blank. Reload.. and hey presto, [snip] > Well, it's a longshot, but thanks anyway. Another long shot, do you always specify full paths to files in your code? If you don't get anywhere with that then I'd suggest looking at the debugging section of the Guide: http://prel.apache.org/guide and/or peppering your code at strategic places with 'print STDERR "$something_useful\n"' statements. 73, Ged. From yharris@example.net Fri Mar 01 19:12:21 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 19244 invoked by uid 500); 1 Mar 2002 19:12:20 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 19227 invoked from network); 1 Mar 2002 19:12:19 -0000 Message-ID: <yharris@example.net> Date: Fri, 01 Mar 2002 14:12:24 -0500 From: Fran Fabrizio <yharris@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 CC: yharris@example.net Subject: Re: RegistryLoader Segmentation fault References: <yharris@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ged, >>using Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RegistryLoader. I'm getting a seg fault when I attempt to >>start apache. >> > > Read mod_perl/SUPPORT. Ok I've looked through it. I've tried some of the quicker suggestions... gdb -core core and gdb httpd core tell me: Core was generated by `/usr/local/apache/bin/httpd'. Program terminated with signal 11, Segmentation fault. #0 0x80ca6b6 in Perl_gv_init () I'll try some of the more involved stuff here in a moment > Did you compile your own Perl, mod_perl and Apache? Yes. Perl 5.6.0, mod_perl 1.25, apache 1.3.19. > You might be better off with Perl version 5.6.1 instead. I will upgrade and see what happens. > Are you using DSO? No. Thanks for the pointers thus far! -Fran From yharris@example.net Fri Mar 01 19:15:23 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 21637 invoked by uid 500); 1 Mar 2002 19:15:22 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 21624 invoked from network); 1 Mar 2002 19:15:22 -0000 Message-ID: <yharris@example.net> Date: Fri, 01 Mar 2002 14:15:25 -0500 From: Geoffrey Young <yharris@example.net> X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 CC: yharris@example.net Subject: Re: RegistryLoader Segmentation fault References: <yharris@example.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N whoops, forgot to CC the list, but it seems Ged stepped in with the same info... Fran Fabrizio wrote: > > Hello, > > I'm trying to follow the script in section 2.14 of the book "mod_perl > Developer's Cookbook" in order to pre-load my Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4registry scripts > using Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4RegistryLoader. I'm getting a seg fault when I attempt to > start apache. > I've never seen a segfault with RegistryLoader, but there are a few avenues that might help. see Recipe 9.19 for a general introduction into using gbd and getting a backtrace, as well as the SUPPORT document in the mod_perl sources maybe someone else has seen this before and can offer more help --Geoff From yharris@example.net Fri Mar 01 19:26:39 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 29746 invoked by uid 500); 1 Mar 2002 19:26:38 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 29733 invoked from network); 1 Mar 2002 19:26:38 -0000 Message-ID: <yharris@example.net> Date: Fri, 01 Mar 2002 14:26:45 -0500 From: Fran Fabrizio <yharris@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 CC: yharris@example.net Subject: Re: RegistryLoader Segmentation fault References: <yharris@example.net> <yharris@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > see Recipe 9.19 for a general introduction into using gbd and getting > a backtrace, as well as the SUPPORT document in the mod_perl sources Here is the backtrace for now. I'm going to try Perl 5.6.1 and then try to see what the backtrace looks like with a PERL_DEBUG=1 enabled mod_perl. Thanks for the help thus far. -Fran (gdb) bt #0 0x80ca6b6 in Perl_gv_init () #1 0x80cb9d5 in Perl_gv_fetchpv () #2 0x80810dd in perl_section_hash_init () #3 0x8081403 in perl_section () #4 0x809aa40 in ap_clear_module_list () #5 0x809b598 in ap_handle_command () #6 0x809b635 in ap_srm_command_loop () #7 0x809ef2a in ap_limit_section () #8 0x809aa40 in ap_clear_module_list () #9 0x809b598 in ap_handle_command () #10 0x809b635 in ap_srm_command_loop () #11 0x809bd52 in ap_process_resource_config () #12 0x80a0cc7 in ap_exists_config_define () #13 0x809aadc in ap_clear_module_list () #14 0x809b598 in ap_handle_command () #15 0x809b635 in ap_srm_command_loop () #16 0x809bd52 in ap_process_resource_config () #17 0x809c695 in ap_read_config () #18 0x80a6e9f in main () #19 0x400a1b65 in __libc_start_main (main=0x80a6bb8 <main>, argc=1, ubp_av=0xbffffaf4, init=0x80621d4 <_init>, fini=0x814a26c <_fini>, rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffffaec) at ../sysdeps/generic/libc-start.c:111 From yharris@example.net Fri Mar 01 19:30:39 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 32156 invoked by uid 500); 1 Mar 2002 19:30:39 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 32143 invoked from network); 1 Mar 2002 19:30:38 -0000 Date: Fri, 1 Mar 2002 19:30:37 +0000 (GMT) From: Ged Haywood <yharris@example.net> To: Rick Myers <yharris@example.net> cc: yharris@example.net Subject: Re: virtual host "server root" In-Reply-To: <yharris@example.net> Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi there, On Wed, 27 Feb 2002, Rick Myers wrote: > I'm trying to create a "root" directory for each of my virtuals. > the realm of the virtual that certainly shouldn't be within [snip] > I've come up with three solutions, none of which I > particularly like for various reasons. Have you looked at mod_macro? 73, Ged. From yharris@example.net Fri Mar 01 19:38:58 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 37012 invoked by uid 500); 1 Mar 2002 19:38:58 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 36998 invoked from network); 1 Mar 2002 19:38:57 -0000 Date: Fri, 1 Mar 2002 14:38:26 -0500 (EST) From: Ryan Veety <yharris@example.net> To: yharris@example.net Subject: Segfault when using LWP Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I just upgraded to Apache 1.3.23, mod_perl 1.26, openssl 0.9.6c, modssl 2.8.7. Since then, httpd segfaults every time I use LWP888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4UserAgent to grab from a ssl server. The following mod_perl script is an example: #!/usr/bin/perl use strict; use LWP888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4UserAgent; my $ua = LWP888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4UserAgent->new; my $request = HTTP888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request->new(GET => 'https://www.modssl.org/'); my $response = $ua->request($request); my $text = $response->content; print "Content-type: text/html\n\n"; print "It worked<BR>\n"; print $text; This works perfectly from the command line, but segfaults when run within mod_perl. It also works fine when run in /cgi-bin, and it will work fine when run in mod_perl if I change the request from https to http. My first thought was that the perl modules were linked to an older version of openssl, this is not the case, I reinstalled all the perl modules and then even deleted perl completely, recompiled it, reinstalled all the necessary perl modules, rebuilt apache/mod_perl with the rebuilt perl, and the same thing still happens. Once httpd segfaults once, each apache process seems to crash/restart once per second until I apachectl restart :(. This all worked fine under mod_perl 1.25. Any ideas?? Ryan __________________________________________________________ .' Ryan Veety <yharris@example.net> - http://www.ryanspc.com `. | PGP Key: http://www.ryanspc.com/pgp.txt | `----------------------------------------------------------' From yharris@example.net Fri Mar 01 19:41:11 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 39462 invoked by uid 500); 1 Mar 2002 19:41:11 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 39438 invoked from network); 1 Mar 2002 19:41:10 -0000 Date: Fri, 1 Mar 2002 13:44:43 -0600 (Central Standard Time) From: Andy Lester <yharris@example.net> Reply-To: Andy Lester <yharris@example.net> To: Ged Haywood <yharris@example.net> cc: Rick Myers <yharris@example.net>, <yharris@example.net> Subject: Re: virtual host "server root" In-Reply-To: <yharris@example.net> Message-ID: <Pine.WNT.4.44.0203011344120.1272-100000@ALESTER> X-X-Sender: yharris@example.net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > I'm trying to create a "root" directory for each of my virtuals. > > the realm of the virtual that certainly shouldn't be within > [snip] > > I've come up with three solutions, none of which I > > particularly like for various reasons. > > Have you looked at mod_macro? mod_macro has been a godsend for me. I was about thisclose to writing something to generate my http.conf for me. -- %_=split/;/,".;;n;u;e;ot;t;her;c; ". # Andy Lester 'Perl ;@; a;a;j;m;er;y;t;p;n;d;s;o;'. # http://petdance.com "hack";print map delete$_{$_},split//,q< yharris@example.net > From yharris@example.net Fri Mar 01 19:42:57 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 42914 invoked by uid 500); 1 Mar 2002 19:42:57 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 42897 invoked from network); 1 Mar 2002 19:42:57 -0000 Mime-Version: 1.0 X-Sender: yharris@example.net Message-Id: <v04210102b8a589554d50@[83.161.120.155]> In-Reply-To: <yharris@example.net> References: <yharris@example.net> Date: Fri, 1 Mar 2002 14:42:45 -0500 To: Ged Haywood <yharris@example.net>, Axel Andersson <yharris@example.net> From: Robert Landrum <yharris@example.net> Subject: Re: Blank pages Cc: yharris@example.net Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 6:54 PM +0000 3/1/02, Ged Haywood wrote: >Hi there, > >On Fri, 1 Mar 2002, Axel Andersson wrote: > >> I run a mod_perl/mysql site, which works fine most of the time. Some >> pages, however, come out completely blank. Reload.. and hey presto, >[snip] >> Well, it's a longshot, but thanks anyway. > >Another long shot, do you always specify full paths to files in your code? > >If you don't get anywhere with that then I'd suggest looking at the debugging >section of the Guide: http://prel.apache.org/guide and/or peppering your code >at strategic places with 'print STDERR "$something_useful\n"' statements. I think Ged meant http://perl.apache.org/guide. The full path thing is a good suggestion... We recently came across a problem with chdir and relative paths. Basically we'd chdir('/tmp'); and create some files (via pdflatex). Then later whenever we used that particular apache process, it would always start process requests as if it were in /tmp, which made local paths foobar. httpd -X is a good way to test for this sort of problem. Rob -- When I used a Mac, they laughed because I had no command prompt. When I used Linux, they laughed because I had no GUI. From yharris@example.net Fri Mar 01 19:43:08 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 44204 invoked by uid 500); 1 Mar 2002 19:43:08 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 44106 invoked from network); 1 Mar 2002 19:43:07 -0000 Date: Fri, 1 Mar 2002 14:42:31 -0500 From: darren chamberlain <yharris@example.net> To: yharris@example.net Subject: Re: Segfault when using LWP Message-ID: <yharris@example.net> Mail-Followup-To: yharris@example.net References: <yharris@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <yharris@example.net> User-Agent: Mutt/1.3.25i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Quoting Ryan Veety <yharris@example.net> [Mar 01, 2002 14:38]: > I just upgraded to Apache 1.3.23, mod_perl 1.26, openssl > 0.9.6c, modssl 2.8.7. Since then, httpd segfaults every time I > use LWP888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4UserAgent to grab from a ssl server. Did you upgrade Perl? Perl 5.6.0 has a DynaLoader bug that causes things to segfault quite often (it's fixed in 5.6.1). We noticed it initially with LWP; I think it was actually happening in one of the HTML888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4 modules that had XS componenants in it. (darren) -- Think like a man of action, act like a man of thought. From yharris@example.net Fri Mar 01 20:20:11 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 75374 invoked by uid 500); 1 Mar 2002 20:20:09 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 75360 invoked from network); 1 Mar 2002 20:20:09 -0000 Message-ID: <yharris@example.net> From: "Gregor Mosheh, B.S." <yharris@example.net> To: <yharris@example.net> Subject: MySQL, file upload, file size Date: Fri, 1 Mar 2002 12:20:11 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm using file upload fields, and submitting the MIME-encoded version of the file contents to a MySQL database. If I try to upload a file larger than about 500kB, the DB insertion fails and I get this in the Apache error_log: 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mysql888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4st execute failed: MySQL server has gone away at /usr/local/apache-dev/ultraform-lib/UltraForm2.pm line 496, <fh00003E%3A\Software\Network\GETRIGHT.ZIP> chunk 3772. When I connect to the server and use \s, the uptime and connection ID show no indication that the MySQL server crashed or otherwise "went away". What steps do I take to solve this? From yharris@example.net Fri Mar 01 20:24:38 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 79037 invoked by uid 500); 1 Mar 2002 20:24:37 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 79022 invoked from network); 1 Mar 2002 20:24:37 -0000 Message-ID: <E1F0152638DBD311AEF700D0B74455E24BD075@exchange_nh.allegromicro.com> From: "Fitch, George A" <yharris@example.net> To: "'Gregor Mosheh, B.S.'" <yharris@example.net>, yharris@example.net Subject: RE: MySQL, file upload, file size Date: Fri, 1 Mar 2002 15:31:59 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N What's your max_allowed_packet setting in my.cnf? Gaf -----Original Message----- From: Gregor Mosheh, B.S. [mailto:yharris@example.net] Sent: Friday, March 01, 2002 3:20 PM To: yharris@example.net Subject: MySQL, file upload, file size I'm using file upload fields, and submitting the MIME-encoded version of the file contents to a MySQL database. If I try to upload a file larger than about 500kB, the DB insertion fails and I get this in the Apache error_log: 888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4mysql888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4st execute failed: MySQL server has gone away at /usr/local/apache-dev/ultraform-lib/UltraForm2.pm line 496, <fh00003E%3A\Software\Network\GETRIGHT.ZIP> chunk 3772. When I connect to the server and use \s, the uptime and connection ID show no indication that the MySQL server crashed or otherwise "went away". What steps do I take to solve this? From yharris@example.net Fri Mar 01 20:54:12 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 96828 invoked by uid 500); 1 Mar 2002 20:54:11 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 96811 invoked from network); 1 Mar 2002 20:54:11 -0000 Date: Fri, 1 Mar 2002 15:53:39 -0500 (EST) From: Ryan Veety <yharris@example.net> To: yharris@example.net Subject: Re: Segfault when using LWP In-Reply-To: <yharris@example.net> Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DOH! Nevermind, I figured it out. I didn't run ldconfig after upgrading openssl, so httpd was linked to a different version than the ssl perl modules, which aparently caused the segfaults... Like I said earlier I thought it was a library version mismatch so I recompiled *everything*, but for some reason the perl modules seemed to pick up the new libcrypto without me running ldconfig??. Oh well, thanks anyway. Ryan __________________________________________________________ .' Ryan Veety <yharris@example.net> - http://www.ryanspc.com `. | PGP Key: http://www.ryanspc.com/pgp.txt | `----------------------------------------------------------' From yharris@example.net Fri Mar 01 23:57:44 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 89161 invoked by uid 500); 1 Mar 2002 23:57:44 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 89148 invoked from network); 1 Mar 2002 23:57:43 -0000 From: Ron Savage <yharris@example.net> To: <yharris@example.net> X-Mailer: PocoMail 2.6 (1006) - Licensed Version Date: Sat, 2 Mar 2002 10:55:36 +1100 Subject: [OT] Hierarchical access to db under Apache and Zeus Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <20020301235748.DLVL1977.mta04.mail.mel.aone.net.au@ron> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This is off topic, I know. I'm accessing your general knowledge,= not your mod_perl knowledge. And the CGI script must run under Apache and Zeus. Exit= mod_perl. Imagine a club membership db. One table, 'people' say, has a list= of members of all clubs. The problem: 1) A club official is allowed to see all people records for their= club 2) A state-level official is allowed to see all people records= for clubs in their state 3) A national-level official is allowed to see all people= records, period. I'm writing all this in Perl, and am using MySQL under both web servers, and I've designed all the tables, so can implement any= db and code changes required. Any ideas/articles on implementing this? -- Ron Savage, yharris@example.net on 02/03/2002 http://savage.net.au/index.html From yharris@example.net Sat Mar 02 00:07:24 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 95387 invoked by uid 500); 2 Mar 2002 00:07:24 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 95374 invoked from network); 2 Mar 2002 00:07:23 -0000 From: Ron Savage <yharris@example.net> To: <yharris@example.net> X-Mailer: PocoMail 2.6 (1006) - Licensed Version Date: Sat, 2 Mar 2002 11:05:16 +1100 In-Reply-To: <007a01c1c13f$d055aa20$f3d7fea9@speedmachine> Subject: Re: [magick-users] Alternatives of phpGraphy? Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <20020302000728.EGED17815.mta07.mail.mel.aone.net.au@ron> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 1 Mar 2002 17:40:36 +0100, Sebastian Barbe wrote: >Hi, > >I am looking for an alternative to phpGraphy. Does anybody know= any >good >software that works in the same way but is even better and= FREE? And what exactly does it do? A URI to an explanation will be sufficient. -- Ron Savage, yharris@example.net on 02/03/2002 http://savage.net.au/index.html From yharris@example.net Sat Mar 02 01:00:05 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 16705 invoked by uid 500); 2 Mar 2002 01:00:05 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 16689 invoked from network); 2 Mar 2002 01:00:04 -0000 Date: Fri, 1 Mar 2002 16:59:46 -0800 (PST) From: Ask Bjoern Hansen <yharris@example.net> To: Ron Savage <yharris@example.net> cc: yharris@example.net Subject: Re: [OT] Hierarchical access to db under Apache and Zeus In-Reply-To: <20020301235748.DLVL1977.mta04.mail.mel.aone.net.au@ron> Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sat, 2 Mar 2002, Ron Savage wrote: > This is off topic, I know. I'm accessing your general knowledge, not > your mod_perl knowledge. Well; please don't bring it up here then. yharris@example.net would maybe be more appropiate. -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From yharris@example.net Sat Mar 02 04:44:09 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 89365 invoked by uid 500); 2 Mar 2002 04:44:09 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 89352 invoked from network); 2 Mar 2002 04:44:08 -0000 Date: Fri, 1 Mar 2002 23:44:32 -0500 From: Rick Myers <yharris@example.net> To: Ged Haywood <yharris@example.net> Cc: yharris@example.net Subject: Re: virtual host "server root" Message-ID: <yharris@example.net> References: <yharris@example.net> <yharris@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5j In-Reply-To: <yharris@example.net>; from yharris@example.net on Fri, Mar 01, 2002 at 07:30:37PM +0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mar 01, 2002 at 19:30:37 +0000, Ged Haywood wrote: > Hi there, > > On Wed, 27 Feb 2002, Rick Myers wrote: > > > I'm trying to create a "root" directory for each of my virtuals. > > the realm of the virtual that certainly shouldn't be within > [snip] > > I've come up with three solutions, none of which I > > particularly like for various reasons. > > Have you looked at mod_macro? I hadn't until now, but it looks interesting. Not quite what I had in mind though. Thanks --rick From yharris@example.net Sat Mar 02 05:47:38 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 7582 invoked by uid 500); 2 Mar 2002 05:47:38 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 7569 invoked from network); 2 Mar 2002 05:47:37 -0000 Date: Fri, 1 Mar 2002 21:47:25 -0800 (PST) From: Ask Bjoern Hansen <yharris@example.net> To: yharris@example.net Subject: [ADMIN] modperl list to move! Message-ID: <yharris@example.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, Early next week I will move the modperl lists that yharris@example.net to perl.apache.org; please be ready to adjust your procmail filters. :-) The old adresses will keep working at least for a while. - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From yharris@example.net Sun Mar 03 03:03:40 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 20775 invoked by uid 500); 3 Mar 2002 03:03:39 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 20762 invoked from network); 3 Mar 2002 03:03:38 -0000 Date: Sat, 2 Mar 2002 21:05:55 -0600 From: will trillich <yharris@example.net> To: yharris@example.net Subject: Re: webmail for mod_perl? Message-ID: <yharris@example.net> Mail-Followup-To: yharris@example.net References: <yharris@example.net> <yharris@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <yharris@example.net>; from yharris@example.net on Thu, Feb 28, 2002 at 03:59:05PM -0800 X-uptime: 7:50pm up 77 days, 21:30, 3 users X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, Feb 28, 2002 at 03:59:05PM -0800, Wim Kerkhoff wrote: > will trillich wrote: > > > > is there a sane implementation of webmail-style mod_perl > > modules for apache? > > Are you needing any specific functionality? > > sparkle (a rewrite of acmemail) works as a mod_perl handler, under > Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Registry, and of course as a normal CGI. Works with various IMAP > servers via Mail888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4lient. Uses Template Toolkit for > themes/templates/skins. > > It's quite peppy once you add all the modules into startup.pl. this looks like what we need. cool. thanks! and now for some evidence that i saw the documentation... -- "We will fight them on the beaches, we will fight them on the sons of beaches" -- Miguel Churchill, Winston's bastard Mexican brother. --lifted from http://www.astray.com/acmemail/stable/documentation.xml yharris@example.net http://sourceforge.net/projects/newbiedoc -- we need your brain! http://www.dontUthink.com/ -- your brain needs us! From yharris@example.net Sun Mar 03 19:15:19 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 31498 invoked by uid 500); 3 Mar 2002 19:15:18 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 31485 invoked from network); 3 Mar 2002 19:15:18 -0000 Date: Sun, 3 Mar 2002 10:55:15 -0800 From: Eric Hammond <yharris@example.net> To: yharris@example.net Cc: yharris@example.net Subject: Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 requires "PerlSetupEnv on", patch to convert to Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request Message-ID: <yharris@example.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Lincoln: After a day of adding debug statements into Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 and CGI.pm I finally tracked down why my streaming was not working. I had listened to http://perl.apache.org/guide/performance.html#PerlSetupEnv_Off which caused $ENV{QUERY_STRING} to not be set which broke CGI.pm. To save others the agony, you might want to add a note to the Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 docs that it requires "PerlSetupEnv on" Alternatively, you might consider rewriting Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 to use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request instead of CGI.pm (though I understand you may have a fondness for the latter). I've included a patch to convert Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 to use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request for parameters. More work would be required to convert the other uses of CGI.pm, but if you'd like, I'd be willing to tackle that, too, as it would be nice to not require the large size of CGI.pm. Thanks -- Eric Hammond yharris@example.net --- Apache/MP3.pm.orig Sat Mar 2 18:00:37 2002 +++ Apache/MP3.pm Sun Mar 3 10:14:23 2002 @@ -67,7 +67,7 @@ sub new { my $class = shift; - unshift @_,'r' if @_ == 1; + @_ = ('r' => Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request->new(shift)) if @_ == 1; return bless { @_ },$class; } @@ -82,35 +82,35 @@ if -d $r->filename; # should be $r->finfo, but STILL problems with this #simple download of file - return $self->download_file($r->filename) unless param; + return $self->download_file($r->filename) unless $r->param; # this is called to stream a file - return $self->stream if param('stream'); + return $self->stream if $r->param('stream'); # this is called to generate a playlist on the current directory return $self->send_playlist($self->find_mp3s) - if param('Play All'); + if $r->param('Play All'); # this is called to generate a playlist on the current directory # and everything beneath return $self->send_playlist($self->find_mp3s('recursive')) - if param('Play All Recursive') ; + if $r->param('Play All Recursive') ; # this is called to generate a shuffled playlist of current directory return $self->send_playlist($self->find_mp3s,'shuffle') - if param('Shuffle'); + if $r->param('Shuffle'); # this is called to generate a shuffled playlist of current directory return $self->send_playlist($self->find_mp3s,'shuffle') - if param('Shuffle All'); + if $r->param('Shuffle All'); # this is called to generate a shuffled playlist of current directory # and everything beneath return $self->send_playlist($self->find_mp3s('recursive'),'shuffle') - if param('Shuffle All Recursive'); + if $r->param('Shuffle All Recursive'); # this is called to generate a playlist for one file - if (param('play')) { + if ($r->param('play')) { my $dot3 = '.m3u|.pls'; my($basename) = $r->uri =~ m!([^/]+?)($dot3)?$!; $basename = quotemeta($basename); @@ -137,8 +137,8 @@ } # this is called to generate a playlist for selected files - if (param('Play Selected')) { - return HTTP_NO_CONTENT unless my @files = param('file'); + if ($r->param('Play Selected')) { + return HTTP_NO_CONTENT unless my @files = $r->param('file'); my $uri = dirname($r->uri); $self->send_playlist([map { "$uri/$_" } @files]); return OK; From yharris@example.net Mon Mar 04 09:14:40 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 58349 invoked by uid 500); 4 Mar 2002 09:14:40 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 58335 invoked from network); 4 Mar 2002 09:14:39 -0000 Message-ID: <yharris@example.net> Date: Mon, 04 Mar 2002 17:14:48 +0800 From: Stas Bekman <yharris@example.net> Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: Eric Hammond <yharris@example.net> Cc: yharris@example.net, yharris@example.net Subject: Re: Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 requires "PerlSetupEnv on", patch to convert to Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request References: <yharris@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Eric Hammond wrote: > Lincoln: > > After a day of adding debug statements into Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 and CGI.pm > I finally tracked down why my streaming was not working. I had > listened to http://perl.apache.org/guide/performance.html#PerlSetupEnv_Off > which caused $ENV{QUERY_STRING} to not be set which broke CGI.pm. The guide does say: Scripts using the CGI.pm module require PerlSetupEnv On because that module relies on a properly populated CGI environment table. But I realize that a user of Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 may not realize that the latter uses CGI.pm under the hood. Can CGI.pm detect that 'PerlSetupEnv Off' is in effect and die if that's the case? for example by testing some env var that most likely should be set with 'PerlSetupEnv On'? e.g.: #check that we aren't running under PerlSetupEnv Off if ($ENV{MOD_PERL} && !ENV{SCRIPT_FILENAME}) { die "CGI.pm cannot run under 'PerlSetupEnv Off' setting"; } > To save others the agony, you might want to add a note to the Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 > docs that it requires "PerlSetupEnv on" > > Alternatively, you might consider rewriting Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 to use > Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request instead of CGI.pm (though I understand you may have > a fondness for the latter). > > I've included a patch to convert Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4MP3 to use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Request > for parameters. More work would be required to convert the other uses > of CGI.pm, but if you'd like, I'd be willing to tackle that, too, as > it would be nice to not require the large size of CGI.pm. > _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:yharris@example.net http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ From yharris@example.net Mon Mar 04 13:58:34 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 635 invoked by uid 500); 4 Mar 2002 13:58:33 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 610 invoked from network); 4 Mar 2002 13:58:33 -0000 Message-ID: <yharris@example.net> Date: Mon, 04 Mar 2002 14:58:38 +0100 From: Martin Haase-Thomas <yharris@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020214 X-Accept-Language: en, de, nl, fr, it, es MIME-Version: 1.0 To: yharris@example.net Subject: [WOT] Opcode/ Safe Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, maybe this is really far WOT, but one shouldn't give up hope, as we all know... Does anyone have experience with Opcode and Safe? The thing is that I have to create my own secure namespace for some reasons - and don't know how to do. What does not work is the following: #!/usr/bin/perl -w use Safe; my $page = new Safe ("huhu"); $page->deny qw(:base_io :base_orig :base_thread :filesys_read :sys_db :filesys_open :filesys_write :subprocess :ownprocess :still_to_be_decided :dangerous); $page->permit qw(print ref entereval); $page->deny qw(rand srand); $page->reval ("sysopen '/bla/blub.html' || kill 15, 1906"); Anyone with an idea? btw: funny things will happen if you type 1 instead of 1906 ... :) regards Martin -- http://www.meome.de ------------------------------------------------------- Martin Haase-Thomas | Tel.: 030 43730-558 meOme AG | Fax.: 030 43730-555 Software Development | yharris@example.net ------------------------------------------------------- From yharris@example.net Mon Mar 04 14:22:23 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 18114 invoked by uid 500); 4 Mar 2002 14:22:23 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 18101 invoked from network); 4 Mar 2002 14:22:23 -0000 Message-ID: <yharris@example.net> Date: Mon, 04 Mar 2002 15:22:26 +0100 From: Martin Haase-Thomas <yharris@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020214 X-Accept-Language: en, de, nl, fr, it, es MIME-Version: 1.0 To: yharris@example.net Subject: Re: [WOT] Opcode/ Safe References: <yharris@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok, forget my post, her's the answer: #!/usr/bin/perl -w use Safe; my $page = new Safe ("huhu"); my $opset = Opco888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4opset qw(:base_io :base_orig :base_thread :filesys_read :sys_db :filesys_open :filesys_write :subprocess :ownprocess :still_to_be_decided :dangerous); $page->deny(Opco888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4opset_to_ops($opset)); $page->permit qw(print ref ); $page->deny (qw(rand srand)); $page->reval ("eval \" print 'huhu' \""); print $@."\n"; Martin Haase-Thomas wrote: > Hi all, > > maybe this is really far WOT, but one shouldn't give up hope, as we > all know... > Does anyone have experience with Opcode and Safe? The thing is that I > have to create my own secure namespace > for some reasons - and don't know how to do. > > What does not work is the following: > > #!/usr/bin/perl -w > use Safe; > my $page = new Safe ("huhu"); > $page->deny qw(:base_io :base_orig :base_thread :filesys_read :sys_db > :filesys_open :filesys_write :subprocess :ownprocess > :still_to_be_decided :dangerous); > $page->permit qw(print ref entereval); > $page->deny qw(rand srand); > $page->reval ("sysopen '/bla/blub.html' || kill 15, 1906"); > > Anyone with an idea? btw: funny things will happen if you type 1 > instead of 1906 ... :) > > regards > Martin > -- http://www.meome.de ------------------------------------------------------- Martin Haase-Thomas | Tel.: 030 43730-558 meOme AG | Fax.: 030 43730-555 Software Development | yharris@example.net ------------------------------------------------------- From yharris@example.net Mon Mar 04 16:25:11 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 18348 invoked by uid 500); 4 Mar 2002 16:25:09 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 18323 invoked from network); 4 Mar 2002 16:25:09 -0000 Reply-To: <yharris@example.net> From: "Jonathan M. Hollin" <yharris@example.net> To: <yharris@example.net>, <yharris@example.net> Subject: [ANNOUNCE] mod_perl logo Date: Mon, 4 Mar 2002 16:26:18 -0000 Organization: The Digital-Word Company Limited Message-ID: <004601c1c399$504dc090$b1a1a8c2@orpheus> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Friends, The time has now come to cast your vote(s) for the new mod_perl logo (to accompany the new mod_perl website which is now almost complete). You can select your preferred logo at http://www.tohubohu.net/cgi/mpchallenge. You can vote for a new logo, or button or both. You can also vote to keep the existing logo/button. If a new logo is chosen, then a banner (or banners) will be designed around the chosen logo. Only one vote per email address will be accepted (button and/or logo). You can optionally submit comments/thoughts/suggestions for the designers... Voting will close on March 11th. Winner(s) will be announced on March 12th on this list. Jonathan M. Hollin - WYPUG Co-ordinator West Yorkshire Perl User Group http://wypug.pm.org/ From yharris@example.net Mon Mar 04 16:46:02 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 37620 invoked by uid 500); 4 Mar 2002 16:46:01 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 37607 invoked from network); 4 Mar 2002 16:46:01 -0000 Sender: drfrog Message-ID: <yharris@example.net> Date: Mon, 04 Mar 2002 08:47:50 -0800 From: clayton cottingham <yharris@example.net> X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-21mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: "yharris@example.net" <yharris@example.net> Subject: problems with $r->status('OK') Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hello: im using Apache/1.3.12 and mod_perl/1.24 every time i use the $r->status('OK'); it gives me this error Argument "OK" isn't numeric in subroutine entry .... has anyone come accross this before? thanks From yharris@example.net Mon Mar 04 16:53:15 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 44985 invoked by uid 500); 4 Mar 2002 16:53:14 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 44972 invoked from network); 4 Mar 2002 16:53:14 -0000 cc: "yharris@example.net" <yharris@example.net> Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Mon, 4 Mar 2002 17:53:01 +0100 (CET) From: Hans Juergen von Lengerke <yharris@example.net> In-Reply-To: <yharris@example.net> Message-ID: <yharris@example.net> MIME-Version: 1.0 Subject: Re: problems with $r->status('OK') To: clayton cottingham <yharris@example.net> X-AntiVirus: OK! AvMailGate Version 83.161.120.155 at proxy has not found any known virus in this email. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N clayton cottingham <yharris@example.net> on Mar 4, 2002: > every time i use > the $r->status('OK'); "OK" in this context is not a string, but a constant that is defined in Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Constants. Modify your code like this: use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Constants qw(:common); ... $r->status(OK); # No quotes, it's a constant HTH, Hans From yharris@example.net Mon Mar 04 17:00:43 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 56269 invoked by uid 500); 4 Mar 2002 17:00:43 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 56256 invoked from network); 4 Mar 2002 17:00:42 -0000 Sender: drfrog Message-ID: <yharris@example.net> Date: Mon, 04 Mar 2002 09:02:28 -0800 From: clayton cottingham <yharris@example.net> X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-21mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: Hans Juergen von Lengerke <yharris@example.net> CC: "yharris@example.net" <yharris@example.net> Subject: Re: problems with $r->status('OK') References: <yharris@example.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hans Juergen von Lengerke wrote: > > clayton cottingham <yharris@example.net> on Mar 4, 2002: > > > every time i use > > the $r->status('OK'); > > "OK" in this context is not a string, but a constant that is defined in > Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Constants. Modify your code like this: > > use Apach888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Constants qw(:common); > ... > $r->status(OK); # No quotes, it's a constant > > HTH, Hans hmm, ok did that before but i needed a restart ! sheesh!! thanks for the quick reply! From yharris@example.net Mon Mar 04 17:10:18 2002 Return-Path: <yharris@example.net> Delivered-To: yharris@example.net Received: (qmail 64719 invoked by uid 500); 4 Mar 2002 17:10:18 -0000 Mailing-List: contact yharris@example.net; run by ezmlm Precedence: bulk list-help: <mailto:yharris@example.net> list-unsubscribe: <mailto:yharris@example.net> list-post: <mailto:yharris@example.net> Delivered-To: mailing list yharris@example.net Received: (qmail 64699 invoked from network); 4 Mar 2002 17:10:17 -0000 Sender: yharris@example.net Message-ID: <yharris@example.net> Date: Mon, 04 Mar 2002 09:09:32 -0800 From: Wim Kerkhoff <yharris@example.net> X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.17 i686) X-Accept-Language: en MIME-Version: 1.0 To: yharris@example.net Subject: Re: webmail for mod_perl? References: <yharris@example.net> <yharris@example.net> <yharris@example.net> Content-Type: text/plain;
{'source': 'Apache Software Foundation Public Mail Archives'}