Re: Modperl memory exceedance under mason webmail

2008-11-02 Thread Adam Prime
Jim Donovan wrote: > Hi, > > We run a webmail system which was written in Mason. It won't let you download > or read large attachments (~5MB upwards). This seems to be some sort of > memory allocation error. > > If you watch the server with top(1) while downloading a 2MB attachment, you > can se

Modperl memory exceedance under mason webmail

2008-11-02 Thread Jim Donovan
Hi, We run a webmail system which was written in Mason. It won't let you download or read large attachments (~5MB upwards). This seems to be some sort of memory allocation error. If you watch the server with top(1) while downloading a 2MB attachment, you can see the memory usage climb quickly

rewrite urls to modperl handler

2008-11-02 Thread perl
Hi all, I am new to mod_perl and am having a difficult time with rewrites. Either I am doing it the most wrong way, or it's so easy that I'm over looking it. I have searched and found nothing that seems to relate to what I want. I am working on a perl based wiki, to help me learn more about how p

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Puneet Lakhina wrote: > One more question, is it possible for me to ensure that my module/or > essenially mod_perl's processing of the URI translation happens > before mod_rewrite or any other similar modules, and essentially > mod_rewrite's rules work on the URI modified by me.

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Puneet Lakhina
>> Then the documentation is wrong. Yeah I ran it with PerlTransHandler. It works. So the documentation is indeed misleading. Thanks for taking time to give such detailed explanation. One more question, is it possible for me to ensure that my module/or essenially mod_perl's processing of the URI t

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Torsten Foertsch wrote: > On Sun 02 Nov 2008, Puneet Lakhina wrote: > > > Input headers are found in $r->headers_in and are set even before > > > PerlPostReadRequest. So, have a close look at your code. If that > > > doesn't help try to create a test case as simple as you can an

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Puneet Lakhina wrote: > > Input headers are found in $r->headers_in and are set even before > > PerlPostReadRequest. So, have a close look at your code. If that > > doesn't help try to create a test case as simple as you can and > > post it to the list. > > Not as per this: > ht

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Puneet Lakhina
> Input headers are found in $r->headers_in and are set even before > PerlPostReadRequest. So, have a close look at your code. If that > doesn't help try to create a test case as simple as you can and post it > to the list. > Not as per this: http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.h

Re: Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Torsten Foertsch
On Sun 02 Nov 2008, Puneet Lakhina wrote: > Initially I thought PerlTransHandler would be the right thing to use. It is. > But as it turns out, the headers arent populated until that phase. Input headers are found in $r->headers_in and are set even before PerlPostReadRequest. So, have a close l

Mod Perl 2.0 HTTP Handlers

2008-11-02 Thread Puneet Lakhina
Hi, I am new to mod perl and apache. I am trying to write a URI translation engine which needs to use the cookies set on the client. Additionally I want mod_rewrite and other URI Translational hooks to be invoked once my hook is done. Initially I thought PerlTransHandler would be the right thing