, but setting BUFF_LEN to
8000 did not help as the buffer still sometimes gets cut after ~2500 bytes
or so. Do you know of any way to force the bucket to be a certain length?
Thanks
Chris
On Thu, Mar 31, 2011 at 10:07 AM, Hendrik Schumacher wrote:
> Am Do, 31.03.2011, 06:30 schrieb Chris Datfung:
&g
On Wed, Mar 30, 2011 at 12:36 PM, Hendrik Schumacher wrote:
> Am Mi, 30.03.2011, 12:17 schrieb Chris Datfung:
>
> I had a similar problem with a http proxy that injected a string into the
> HTML body. If the response is passed to the filter in multiple parts there
> is a certain p
I have a script that uses Apache2::Filter to filter the server response
output and inject a string into the HTML body. The script normally works
fine expect intermittently the output is missing the injected string. This
happens around 10% of the time. I verified that there is enough memory and
CPU
I'm looking for recommendations for a good ModPerl book that does not assume
too much Perl background, any suggestions?
- Chris
I want to manipulate various href links in the server response. I read in
the server response as follows:
sub handler
{
my $f = shift;
unless ($f->ctx){
while ($f->read(my $Buffer, BUFF_LEN)) {
if ($Buffer =~ m/Logout/){
$Buffer =~ s/href="(.*?\?.*?)"/href="$1\&NewParameter=$
On Thu, Apr 15, 2010 at 12:23 AM, Perrin Harkins wrote:
> The subprocess_env info that Adam sent you should have worked. Can
> you show us what you tried? Can you try it in a response handler to
> make sure it's not an odd bug with filters?
>
>
Hi Perrin,
Thanks, subprocess_env works when just
On Tue, Apr 13, 2010 at 9:57 PM, Chris Datfung wrote:
> On Tue, Apr 13, 2010 at 6:34 PM, Fred Moyer wrote:
>
>> Correct me if I'm wrong, but don't you need to do this:
>>
>> PerlPassEnv TE
>>
>
Hi Fred,
After a bit more research, It seems that PerlPa
{HOME}' to the TE::ST package but did not see the path in the
/index.html output either. Any ideas what I'm missing?
Thanks,
Chris
> On Mon, Apr 12, 2010 at 11:44 AM, Chris Datfung
> wrote:
> > I want to use mod-perl to edit server responses under certain conditions.
> My
&
by_Perl_Code
>
> though that would seem to be unrelated to your issue.
>
> Adam
>
>
>
> Chris Datfung wrote:
>
>> I want to use mod-perl to edit server responses under certain conditions.
>> My plan was to use various modules, like mod-setenvif and mod-secu
I want to use mod-perl to edit server responses under certain conditions. My
plan was to use various modules, like mod-setenvif and mod-security to set
an environment variable and then have mod-perl edit the response body only
run when the environment variable is set. I tried the following test whi
10 matches
Mail list logo