Re: 'make test' fails with "the server is down, giving up after 121 secs"

2007-10-21 Thread Fred Moyer
[EMAIL PROTECTED] bugzilla-3]# rpm -qa|grep mod_perl mod_perl-devel-1.99_16-4 mod_perl-1.99_16-4 Looks like you have a old version installed, it might help to remove that rpm if you are installing 2.0.3 from source. [EMAIL PROTECTED] bugzilla-3]# [EMAIL PROTECTED] bugzilla-3]# cp /root/per

Re: Mod_Perl and MaxRequestsPerChild

2007-10-21 Thread Ask Bjørn Hansen
On Oct 17, 2007, at 2:40 PM, Mark Maunder wrote: So I'm sticking with prefork. Also, my requests average around 2937 B/request which means they're serviced very quickly even for slow clients, so I think I can get away without implementing a proxy accelerator for now, but something I'll keep ree

Re: ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-21 Thread Ask Bjørn Hansen
On Oct 16, 2007, at 1:24 AM, Graham TerMarsch wrote: After receiving some feedback from people about my Apache2 auto- minification filters for JS/CSS, and seeing that the only issue people seemed to have was that the underlying minifiers weren't terribly fast, I've gone ahead and have rebu

Re: ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-21 Thread Andrew Wyllie
I agree, this looks like it would be best suited to a standalone script. If you really want this to be a mod_perl module, why don't you do something like check the timestamp of the JS/CSS file and cache (Cache::FileCache) the minified version of the file until the timestamp on the original fil

Re: ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-21 Thread John ORourke
If you'll pardon the devil's advocate bit... Caching isn't really the issue - you can use mod_cache, or make your own using CSS::Minifier. I think Bjorn was questioning the Apache2::Filter::Minifier:: approach. Here's a different take on Apache2::Filter::Minifier. I run a small web dev sho

mystery subrequest being generated after fixup

2007-10-21 Thread John ORourke
Hi folks, Is it possible to get apache to log which modules are being called at request stage? If it is possible that should pinpoint my problem - if it's not possible, read on... I appear to have a subrequest being generated in some cases between my fixup handler and response handler. My

ANNOUNCE: Apache2::Filter::TagAware

2007-10-21 Thread Adam Prime
The uploaded file Apache2-Filter-TagAware-0.01.tar.gz has entered CPAN as file: $CPAN/authors/id/A/AP/APRIME/Apache2-Filter-TagAware-0.01.tar.gz size: 9124 bytes md5: dbf01588e4030b70d449654fb98deed8 Nearly a year after this thread: http://marc.info/?l=apache-modperl&m=11633081710

"make test" and Apache2 modules

2007-10-21 Thread Bart Schaefer
I'm porting an Apache 1.3/mod_perl application to Apache2/mod_perl2. I've got everything working in that Apache2::porting doesn't complain and the application behaves as expected if I force an install, but "make test" fails with Can't locate object method "request" via package "Apache2::RequestUti

Re: "make test" and Apache2 modules

2007-10-21 Thread Bart Schaefer
Apologies for the self-follow-up. On 10/21/07, Bart Schaefer <[EMAIL PROTECTED]> wrote: > I'm porting an Apache 1.3/mod_perl application to Apache2/mod_perl2. > "make test" fails with > > Can't locate object method "request" via package "Apache2::RequestUtil" at ... I discovered that I'd missed a

Re: ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-21 Thread Andrew Wyllie
Maybe I wasn't really very clear. I don't think 'minifing' your JS/CSS every time it's requested is very useful. You should either preprocess it and then install it on the webserver (in which case you would not need a mod_perl module) OR you could use a mod_perl module that minifies the JS/CSS

Re: ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-21 Thread Boysenberry Payne
I generate my Javascript on the fly, it can be different on every request. I find this very useful... -bop On Oct 21, 2007, at 11:26 PM, Andrew Wyllie wrote: Maybe I wasn't really very clear. I don't think 'minifing' your JS/ CSS every time it's requested is very useful. You should eithe

Re: ANNOUNCE: XS-based minifiers for JS/CSS

2007-10-21 Thread Graham TerMarsch
On Sunday 21 October 2007 9:54 am, John ORourke wrote: > Here's a different take on Apache2::Filter::Minifier. I run a small web > dev shop, I code perl and manage the servers, and I have a small team of > web developers who make works of art using JS and CSS. I have a few > hundred man-hours* pe