[PATCH] Apache2::SizeLimit aborts when smaps is not available

2009-11-30 Thread Harry Danilevsky
mp;linux_smaps_size_check_first_time; } else { --- 58,64 } elsif (LINUX) { ! if ( eval { require Linux::Smaps } and Linux::Smaps->new($$) ) { $HOW_BIG_IS_IT = \&linux_smaps_size_check_first_time; } else { ----

Re: print() on closed filehandle

2006-10-30 Thread Harry Plate
Peter, > > You can also temporarily disable SELinux by doing: > > echo '0' > /selinux/enforce > Bingo! That was it! So, I don't see any SELinux configuration (within Webmin, at least). I need to learn more about it ... How does one disable it at boot time? That would be a good temporary solut

Re: print() on closed filehandle

2006-10-30 Thread Harry Plate
hat the unix fs is *not* the one that is complaining... So is there some kind of mod_perl/Apache setting that is unique to the RH Enterprise Linux 4 (vs RH WS 4) ? Again, I compared the httpd.conf and perl.conf are identical on the 2 servers. -harry

print() on closed filehandle

2006-10-30 Thread Harry Plate
t;perlio-enabled", but that appears to be related to some "APR" sub module. (havent got a clue what that is!) Can anyone offer a clue? Is there a configuration setting that addresses this? -harry

Re: [OT] modperl vs. Ruby

2006-03-06 Thread Harry Zhu
Sorry, it's an accident to reply to the list. Harry - Original Message - From: "Harry Zhu" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]>; "mod_perl List" Sent: Monday, March 06, 2006 4:41 PM Subject: Re: [OT] modperl

Re: [OT] modperl vs. Ruby

2006-03-06 Thread Harry Zhu
- Original Message - From: "Jonathan" <[EMAIL PROTECTED]> To: "mod_perl List" Sent: Saturday, February 25, 2006 6:26 PM Subject: Re: [OT] modperl vs. Ruby there's been a popular link critiquing rails floating around http://discuss.joelonsoftware.com/default.asp?joel.3.309321.3 pe

Re: Problem Recompiling mod_perl

2006-02-27 Thread Harry Zhu
What I did was install perl 5.8.7 in /usr/local/bin mv /usr/bin /usr/bin/perl5.8.0 ln -s /usr/local/bin/perl usr/bin/perl add /usr/local/bin to $PATH in your .bash_profile if not already. reboot the server. Then install Apache/modperl Hope this helps. Harry - Original Message

Re: [OT] modperl vs. Ruby

2006-02-27 Thread Harry Zhu
I'm very much interested. Harry. - Original Message - From: "Enno" <[EMAIL PROTECTED]> To: "Frank Wiles" <[EMAIL PROTECTED]> Cc: "Leo Lapworth" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; Sent: Monday, February 27, 2006 1

[OT] modperl vs. Ruby

2006-02-24 Thread Harry Zhu
Can some body worked/studied on both world tell me the pros and cons about these two?   Our system was built on modperl, but the new boss intended to rebuilt it on Ruby on Rail. How do we argue about it that perl/modperl have almost all the features that Ruby has and more?     Harry Zhu 

Re: find all uninitialized variables?

2006-02-22 Thread Harry Zhu
Thanks. But I did a simple "svn list -R" and get what I want into a file and some quick substitution editting. Now I have a test.pl file to load it in Apach conf. Harry - Original Message - From: "Jonathan Vanasco" <[EMAIL PROTECTED]> To: "Ha

Re: find all uninitialized variables?

2006-02-22 Thread harry
Looks like what I needed (if works) but with a lot of editting: use Module1, use Module2, ..., use ModuleN. Thanks. Harry - Original Message - From: "Jonathan Vanasco" <[EMAIL PROTECTED]> To: "Harry Zhu" <[EMAIL PROTECTED]> Cc: "mod_perl List&q

Re: find all uninitialized variables?

2006-02-22 Thread harry
Looks like a cool QA tool, I'll check it out. Thanks. Harry - Original Message - From: "Tyler MacDonald" <[EMAIL PROTECTED]> To: "Harry Zhu" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, February 22, 2006 3:50 PM Subject: Re: find all uninitialized varia

Re: find all uninitialized variables?

2006-02-22 Thread Harry Zhu
Say I have a file directory with hundreds of modules, I want to know if there is a tool I can scan and identify the uninitalized variables in all the files once (or through a loop) without actually running through all the pages. Harry - Original Message - From: "Tyler MacD

Re: find all uninitialized variables?

2006-02-22 Thread Harry Zhu
"use strict" will find the undeclared/undefined variables. something like my $var; and later on used in the program will not be find by the "use strict", but will cause "use uninitialized variables" warnings if -w switch is on. Harry - Original Me

find all uninitialized variables?

2006-02-22 Thread Harry Zhu
Is there an easy way (a tool) to locate all uninitialized variables for modperl modules in a dirctory so I can initilized them and get rid of the annoying warnings? Googlling on the internet seems no useful results. Some one shield me a light?   Harry Zhu

Re: modperl not recognizing array reference

2006-01-12 Thread Harry Zhu
try @{$self->{resize_list}} ? Harry Zhu GreatLodge.com - Original Message - From: "Michael Greenish" <[EMAIL PROTECTED]> To: Sent: Thursday, January 12, 2006 1:09 PM Subject: modperl not recognizing array reference Hello, This should be very easy but apache i

Re: $r->print doesn't work in Apache2/MP2/Libapreq2?

2005-12-21 Thread Harry Zhu
Thanks for the quick reply. use Apachd2::RequestIO solve the problem (I am trying to migrate from MP1 to MP2 and I thought Apache2::Request would already did that.) Harry - Original Message - From: "Frank Wiles" <[EMAIL PROTECTED]> To: "Harry Zhu" <

$r->print doesn't work in Apache2/MP2/Libapreq2?

2005-12-21 Thread Harry Zhu
xample handler, some using print while others using $r->print (without Apache2::Request), does $r->print under Apache2::Request? Harry Zhu Apache/2.2.0 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.7a DAV/2 mod_apreq2-20050712/2.1.3-dev mod_perl/2.0.2 Perl/v5.8.7 and perl_module (shared) apreq_m

[JOB] 4 Perl Programmers for Apache/mod_perl development

2005-06-06 Thread Harry Zhu
Company: Outdoor Central (formerly GreatLodge.com, Inc) Location: United States, TN, Nashville Salary: Full-time, salary 60k+, comansulate with experience Onsite: Yes. Sorry, no tele-commute. Rapidly growing, fast-paced Nashville area e-government software company seeks 4 intelligent, highly cap

Re: [mp1] Problem install modperl1.28 apache1.3.28perl5.8.1RC5 on MacOSX(10.2.6)

2003-09-29 Thread Harry Zhu
On Thursday, September 25, 2003, at 09:32 AM, Harry Zhu wrote: When run >>/usr/local/bin/perl Makefile.PL APACHE_SRC=../apache_1.3.28/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 got a bunch of messages like Unknown option: 1 Usage: head [-options] ... and when run "make", it stoppe

[mp1] Problem install modperl1.28 apache1.3.28perl5.8.1RC5 on MacOSX(10.2.6)

2003-09-25 Thread Harry Zhu
osvers=6.6, archname=darwin uname='darwin harry-zhus-computer.local. 6.6 darwin kernel version 6.6: thu may 1 21:48:54 pdt 2003; root:xnuxnu-344.34.obj~1release_ppc power macintosh powerpc ' config_args='-de' hint=recommended, useposix=true, d_sigaction=define