RE: mod_perl install error (build perl with -Dusethreads)

2013-06-20 Thread Rommel Sharma
/18165 (I've corrected the perl location in my previous mail that was due to a typo). It works fine now, thanks. Rommel. From: Rommel Sharma [mailto:rsharm...@sapient.com] Sent: Wednesday, June 19, 2013 4:55 PM To: modperl@perl.apache.org Subject: mod_perl install error (build perl

mod_perl install error (build perl with -Dusethreads)

2013-06-19 Thread Rommel Sharma
Hi All, I have Apache/2.2.22 and Perl/v5.18.0 and setting up mod_perl/2.0.7. While installing mod_perl I am getting the following error: Ø file /install/perl/v5.18/perl gives /install/perl/v5.18/perl: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically

RE: mod_perl always segfault on thread creation

2012-08-21 Thread Rommel Sharma
Hi, You could try some options for configuring Perl given here: http://perl.apache.org/docs/2.0/user/install/install.pod.orig specially: % CFLAGS='-m64 -mtune=nocona' ./Configure -des -A ccflags=-fPIC Before doing a make. Thanks, Rommel. From: hack bear [mailto:hackingb...@hotmail.com] Sent:

RE: mod_perl Filters: Selecting the most appropriate buffer size

2012-07-19 Thread Rommel Sharma
Scott, Many thanks for the inputs. This definitely helps. Will be testing out the performance with different buffer size 1K and higher. Rommel. From: Scott Gifford [mailto:sgiff...@suspectclass.com] Sent: Thursday, July 19, 2012 8:13 PM To: Rommel Sharma Cc: mod_perl list Subject: Re: mod_perl

mod_perl Filters: Selecting the most appropriate buffer size

2012-07-10 Thread Rommel Sharma
Hi All, I am going through the documentation on mod_perl filters at the link below: http://perl.apache.org/docs/2.0/user/handlers/filters.html Examples set a buffer size to process the content held in the buffer like: use constant BUFF_LEN = 1024; What is the best approach to reach most

Applying mod_perl filters to content served from JBOSS

2012-06-26 Thread Rommel Sharma
Hi All, I have set up mod_perl filtering as follows: Location ~ /(staticweb|jbossweb) SetHandler modperl PerlOutputFilterHandler MyOutputHandlers::CustomFilterResponse allow from all /Location staticweb is under htdocs and jbossweb is an app-context deployed in jboss .

RE: Applying mod_perl filters to content served from JBOSS

2012-06-26 Thread Rommel Sharma
, 2012 2:32 PM To: Rommel Sharma Cc: modperl@perl.apache.org Subject: Re: Applying mod_perl filters to content served from JBOSS On 06/26/2012 09:46 AM, Rommel Sharma wrote: Location ~ /(staticweb|jbossweb) SetHandler modperl You don't need that. SetHandler declares the response handler

RE: Applying mod_perl filters to content served from JBOSS

2012-06-26 Thread Rommel Sharma
the knowledge!!! Rommel. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Tuesday, June 26, 2012 2:51 PM To: mod_perl list Subject: Re: Applying mod_perl filters to content served from JBOSS Rommel Sharma wrote: Hi All, I have set up mod_perl filtering as follows

RE: Intercepting and modifying response

2012-06-22 Thread Rommel Sharma
in advance! Thanks, Rommel. -Original Message- From: Dr James A Smith [mailto:j...@sanger.ac.uk] Sent: Saturday, June 16, 2012 10:54 PM To: Rommel Sharma Cc: mod_perl list Subject: Re: Intercepting and modifying response On 16/06/2012 14:22, Rommel Sharma wrote: Hi André, Thanks

RE: Intercepting and modifying response

2012-06-16 Thread Rommel Sharma
will be great as I have not worked with it before. Many thanks well in advance for the much needed inputs! Rommel. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, June 15, 2012 8:19 PM To: mod_perl list Subject: Re: Intercepting and modifying response Rommel

Intercepting and modifying response

2012-06-15 Thread Rommel Sharma
All, I need to intercept and modify the response that is coming from JBOSS to the Apache Web (httpd) server and being returned to the client. Planning to use perl to edit the response using mod_perl. Does mod_perl allow this with no adverse effects? If yes, then how do we go about it? Thanks,