Perl 5.6+mod_perl--nearly there now!

2000-06-10 Thread Jeremy Howard
I've been testing the patch posted to this list yesterday to fix the problem with Perl 5.6 'over-optimising' by leaving junk in @_, that causes problems with CGI::Carp and others. The patch fixes up all the problems I had, except for using CGI::Carp under Apache::DB, when importing CGI::Carp

Re: [OT now] Re: Template techniques

2000-06-10 Thread Matt Sergeant
On Fri, 9 Jun 2000, Joshua Chamas wrote: Perrin Harkins wrote: On Fri, 9 Jun 2000, Drew Taylor wrote: I really like the fact that templates can be compiled to perl code cached. Any others besides Mason EmbPerl (and TT in the near future)? Sure: Apache::ePerl, Apache::ASP,

Re: [DESPERATE] Problems with apache-php3perl SRPM

2000-06-10 Thread Ian C . Sison
On Sat, 10 Jun 2000, you wrote: I know this is really basic, but you did check to be sure that the loadmodule/addmodule directives for modperl come before the problem PerlHandler directive? Otherwise it won't recognize the PerlHandler directive because modperl will not have been loaded at

[OT - Security] Linux vulnerability

2000-06-10 Thread Ged Haywood
Hi all, I thought this might be of interest to Apache users running Linux. A vulnerability in some versions of Linux has recently been identified. SYSTEMS AFFECTED Linux kernel versions 2.2.x before 2.2.16 (2.0.x are safe; 2.2.16 is safe) IMPACT Any local user can gain root

Re: Template techniques [ newbie alert + long ]

2000-06-10 Thread Ged Haywood
Hi there, On Thu, 8 Jun 2000, Perrin Harkins wrote: use references for passing data. But see "Advanced Perl Programming" pages 9 (Performance Efficiency) and 44 (Using Typeglob Aliases). 73, Ged.

mod_perl not to work with 5.6?

2000-06-10 Thread Stas Bekman
Hey, who of the Perl teachers at Cruise said that? http://www.oreillynet.com/pub/a/network/2000/06/06/geekcruise.html QUOTE 8.Perl 5.6, which seems like generally a very good thing, currently doesn't work in a mod_perl (i.e., Apache) context. This is a big problem for some people. /QUOTE I

RE: [OT now] Re: Template techniques

2000-06-10 Thread Gerald Richter
For my second rite of passage, I'm hacking XML::XSLT integration into Apache::ASP for realtime XSLT document rendering with a sophisticated caching engine utilizing Tie::Cache. Moving forward, the XML buzzword seems to be just about a necessity. Take it as a sign of respect Matt :)

Re: [OT - Security] Linux vulnerability

2000-06-10 Thread Matt Sergeant
On Sat, 10 Jun 2000, Ged Haywood wrote: Hi all, I thought this might be of interest to Apache users running Linux. [snip] Note that this is not a vulnerability that Apache/Linux suffers from particularly, except in the case of a mod_perl or CGI exploit that allows the user to get a local

Re: mod_perl not to work with 5.6?

2000-06-10 Thread Randal L. Schwartz
"Stas" == Stas Bekman [EMAIL PROTECTED] writes: Stas Hey, who of the Perl teachers at Cruise said that? Stas http://www.oreillynet.com/pub/a/network/2000/06/06/geekcruise.html Stas QUOTE Stas 8.Perl 5.6, which seems like generally a very good thing, currently Stas doesn't work Stas in a

Re: [DESPERATE] Problems with apache-php3perl SRPM

2000-06-10 Thread Ian C. Sison
omigod...! shocked It worked! grin Ok now, i've commented out the ClearModuleList directive , apache loaded ok. Would there be any side effects to the directive, as it seemed to be there for a purpose... Thanks for your help! Ian On Sat, 10 Jun 2000, Ged Haywood wrote: Hi there,

RE: [OT now] Re: Template techniques

2000-06-10 Thread Ian Kallen
Has anybody run into any Perl libraries that do XSLT transformations that are usuable? Last I looked, there was no library that implemented the spec or provided a useful API. Maybe I'm behind the times... Today, Gerald Richter [EMAIL PROTECTED] frothed and gesticulated about RE:...: For my

RE: [OT now] Re: Template techniques

2000-06-10 Thread Matt Sergeant
On Sat, 10 Jun 2000, Ian Kallen wrote: Has anybody run into any Perl libraries that do XSLT transformations that are usuable? Last I looked, there was no library that implemented the spec or provided a useful API. Maybe I'm behind the times... Sablotron from http://www.gingerall.com/ -

Re: [DESPERATE] Problems with apache-php3perl SRPM

2000-06-10 Thread G.W. Haywood
Hi again, On Sat, 10 Jun 2000, Ian C. Sison wrote: omigod...! shocked It worked! grin Equally big grin Ok now, i've commented out the ClearModuleList directive , apache loaded ok. Would there be any side effects to the directive, as it seemed to be there for a purpose... Well

Re: Big pages and gzip

2000-06-10 Thread Ken Williams
[EMAIL PROTECTED] (Doug MacEachern) wrote: On Wed, 7 Jun 2000, Ken Williams wrote: [EMAIL PROTECTED] (Stas Bekman) wrote: On Wed, 7 Jun 2000, Mark Hewis wrote: it would seem to be quite straight forward to implement a handler to gzip all output html files depending on the allowed

error message

2000-06-10 Thread Aleksandr Vladimirskiy
I recently started to use modperl. Ever since I have been getting the following message in error_log. It repeats itself as long as a browser is requesting a uri being handled by modperl null: Attempt to free unreferenced scalar at /dev/null line # DATA chunk # Can someone explain what this

Re: $r-register_cleanup limits (Problem Solved)

2000-06-10 Thread Jim Woodgate
Doug MacEachern writes: there's no limit the number of cleanups you can register, but i would still push the sub {}'s into an array and register a single cleanup to iterate over them. you're right that wasn't the problem, I was passing the same Image::Magick reference to each subroutine,

RE: [OT now] Re: Template techniques

2000-06-10 Thread Robin Berjon
At 17:10 10/06/2000 +0100, Matt Sergeant wrote: On Sat, 10 Jun 2000, Ian Kallen wrote: Has anybody run into any Perl libraries that do XSLT transformations that are usuable? Last I looked, there was no library that implemented the spec or provided a useful API. Maybe I'm behind the

FINALE: (or finally!) Re: Can't create custom config directives(long)

2000-06-10 Thread Rob Tanner
And the really GOOD NEWS!!! When I upgraded to mod_perl 1.24, the problem went away. It all works like it's suppossed to now. --On 06/09/00 12:02:40 -0700 Doug MacEachern [EMAIL PROTECTED] wrote: On Thu, 8 Jun 2000, Rob Tanner wrote: MirrorWiseKeyFile', perhaps mis-spelled or defined

Apache::DProf tip

2000-06-10 Thread Perrin Harkins
Here's something that might be obvious to others but took me a while to figure out: If you want to get useful profiling information, you need to initialize the debugger before your modules get compiled. If you pull in your modules from startup.pl, you can accomplish this by putting a block like