Re: output filter

2010-01-28 Thread moli
Thanks all. Yes the whole pages are generated from mod_perl not PHP. BTW, though we are still using modperl for developing some applications. But it seems other instead technologies are becoming more and more popular, like PHP,Django,Rails etc. Is modperl outdated in today? Regards.

Re: mod_perl-2.0.4 with Apache 2.2.9 and perl 5.10.0 intermittent crashing

2010-01-28 Thread Mark Copper
On Thu, Jan 28, 2010 at 04:30:04PM -0500, Pas Argenio wrote: >I resolved it, finally. Stupidly, we had created a symbolic link: >libmysqlclient.so.15 -> libmysqlclient.so.16.0.0 >(I guess our source build of mysql-5.1.32 only provides >libmysqlclient.so.16.0.0 but DBD-mysql

Re: mod_perl-2.0.4 with Apache 2.2.9 and perl 5.10.0 intermittent crashing

2010-01-28 Thread Pas Argenio
I resolved it, finally. Stupidly, we had created a symbolic link: libmysqlclient.so.15 -> libmysqlclient.so.16.0.0 (I guess our source build of mysql-5.1.32 only provides libmysqlclient.so.16.0.0 but DBD-mysql-4.008 needs libmysqlclient.so.15) The fix was to get the real libmysqlclient.so

Re: mod_perl-2.0.4 with Apache 2.2.9 and perl 5.10.0 intermittent crashing

2010-01-28 Thread demerphq
2010/1/28 Pas Argenio : > Thanks John.  Currently, I'm building 32-bit for a Sparc platform and also > with man CPAN modules such as DBI and DBD. > > I just rebuilt everything carefully, but still coring often before then > displaying a page: >    Apache 2.2.8   Perl 5.10.0   mod_perl 2.0.3 > > I a

Re: mod_perl-2.0.4 with Apache 2.2.9 and perl 5.10.0 intermittent crashing

2010-01-28 Thread Pas Argenio
Thanks John. Currently, I'm building 32-bit for a Sparc platform and also with man CPAN modules such as DBI and DBD. I just rebuilt everything carefully, but still coring often before then displaying a page: Apache 2.2.8 Perl 5.10.0 mod_perl 2.0.3 I also turned on perl internal malloc Sh

Re: output filter

2010-01-28 Thread Perrin Harkins
On Thu, Jan 28, 2010 at 10:27 AM, wrote: > I want to add some Expire: and Cache-Control: headers to make > downstream cacheserver to cache the pages. > Though they are dynamic pages, but I think they are safe to be cachable. If you're generating them with mod_perl, you can just set the headers i

Re: output filter

2010-01-28 Thread Torsten Förtsch
On Thursday 28 January 2010 16:27:29 m...@normalperson.e4ward.com wrote: > How to set the filter for some output headers? > I want to add some Expire: and Cache-Control: headers to make > downstream cacheserver to cache the pages. > Though they are dynamic pages, but I think they are safe to be cac

output filter

2010-01-28 Thread moli
Hello, How to set the filter for some output headers? I want to add some Expire: and Cache-Control: headers to make downstream cacheserver to cache the pages. Though they are dynamic pages, but I think they are safe to be cachable. Thanks.

Re: Adding args to a Request through InputFilter

2010-01-28 Thread Ivory
You were right, after reviewing my code it works much better :) Thanks again. Ivory Torsten Foertsch wrote: > > If "pretty time-consuming" means a few microseconds then yes, it may be > modperl. > > If more, it's your code. > > To figure out how much mod_perl costs try fetching a small stat

Re: Filter out error log by IP address?

2010-01-28 Thread Torsten Förtsch
On Thursday 28 January 2010 07:52:05 Michael A. Capone wrote: > We currently use a 3rd party security company to do a nessus-type > security audit on our site for PCI compliance. Their scans naturally > generate a lot of noise in the error log, to the point that legitimate > site errors are los

Re: Filter out error log by IP address?

2010-01-28 Thread Sean Davis
On Thu, Jan 28, 2010 at 1:52 AM, Michael A. Capone wrote: > Hello, > > I'm not sure this is a mod_perl question per se, but I'm hoping there's > a mod_perl solution to our problem. > > We currently use a 3rd party security company to do a nessus-type > security audit on our site for PCI compliance