Re: ModPerl::Registry: Software caused connection abort

2004-08-04 Thread Stas Bekman
Jeff Finn wrote: I'm joining this thread a little late, but I just noticed I have a similar problem to this with Apache 2.0.49/50 and mp1.99_14. I have the server set up for responses to pass thru a filter: PerlOutputFilterHandler Apache::FileProtector::output When I use curl to access the server a

RE: ModPerl::Registry: Software caused connection abort

2004-08-04 Thread Jeff Finn
I'm joining this thread a little late, but I just noticed I have a similar problem to this with Apache 2.0.49/50 and mp1.99_14. I have the server set up for responses to pass thru a filter: PerlOutputFilterHandler Apache::FileProtector::output When I use curl to access the server and hit ctrl-c

Re: [mp2] Unable to build mp2 using perl 5.6.0

2004-08-04 Thread Stas Bekman
Jeff D wrote: RedHat Linux 7.2 (kernel 2.4.18-5smp) GNU Make version 3.79.1 perl v5.6.0 built for i386-linux apache 2.0.50 mod_perl 1.99_14 Hi... I realize that perl 5.6.0 is not supported for mod_perl 1.99_14, but the documentation DOES indicate that it will build with that version of perl, yet I

Re: Light image server in low-traffic conditions?

2004-08-04 Thread David Hodgkinson
On 4 Aug 2004, at 00:48, Larry Leszczynski wrote: On Tue, 3 Aug 2004, Philippe M. Chiasson wrote: I've had lots of success with a light reverse proxy (httpd or squid) in front of my mod_perl servers. I would recommend it, as it's simpler than 2 completely separate servers for dynamic content and

Re: ModPerl::Registry: Software caused connection abort

2004-08-04 Thread Nick Phillips
On 03/08/2004, at 7:40 AM, Dan Wilga wrote: At 12:02 PM -0700 8/2/04, Stas Bekman wrote: Upon sending the response. The original error message happens in my code when I try to "print" the HTTP header. Yeah, that's what I thought. I suppose we could handle that internally then. But I want to have

[mp2] Unable to build mp2 using perl 5.6.0

2004-08-04 Thread Jeff D
RedHat Linux 7.2 (kernel 2.4.18-5smp) GNU Make version 3.79.1 perl v5.6.0 built for i386-linux apache 2.0.50 mod_perl 1.99_14 Hi... I realize that perl 5.6.0 is not supported for mod_perl 1.99_14, but the documentation DOES indicate that it will build with that version of perl, yet I am receiving

Re: mod_perl2, HEAD request and Content-Length

2004-08-04 Thread Geoffrey Young
>> If httpd-dev doesn't do it, I suppose we can still implement it in mp2. > > > On a second thought, I think it's better not to add this special method > unless Apache does that. I fully agree. > Since in 99.99% cases one should not cause an > early headers sending, and for those special cas

Re: [ANNOUNCE] Travel Threads

2004-08-04 Thread Stas Bekman
Garth Webb wrote: I'd like to announce Travel Threads v1.0: http://www.travelthreads.com/ Travel Threads is a travelogue site build with Perl and HTML::Mason on mod_perl and Apache, using PosgreSQL as its database. Travel Threads lets you: - Post travel entries that can be self dated to when t

Re: mod_perl2, HEAD request and Content-Length

2004-08-04 Thread Stas Bekman
Geoffrey Young wrote: As mentioned earlier I think the bug is in the headers_out filter, which received EOS (since on HEAD apache scratches the response body) and no body. So it takes the liberty to nuke the C-L header, which I'm not sure is a good thing. When we send some body, headers_out sends

Re: mod_perl2, HEAD request and Content-Length

2004-08-04 Thread Stas Bekman
Stas Bekman wrote: [...] Would a flush bucket be a great way to say "send headers now"? So if you're not going to send the actual content down the filter chain on a HEAD request, would sending a flush bucket make things happy? It does. IIF this works, can I make a request the $r->send_http_header(

Re: mod_perl2, HEAD request and Content-Length

2004-08-04 Thread Stas Bekman
Glenn Strauss wrote: On Mon, Aug 02, 2004 at 11:55:56AM -0700, Stas Bekman wrote: [...] I mentioned to Geoff off-list about possibly using a flush bucket, since I don't have a test setup ready (just replaced my dead laptop hard drive) Thanks Glenn, calling $r->rflush works perfectly fine to cause

Re: AuthenNTLM and login

2004-08-04 Thread Arnaud Blancher
--- Begin Message --- Shannon Eric Peevey wrote: Quoting Arnaud Blancher <[EMAIL PROTECTED]>: hi, i use authenNtlm on debian whith an Active directory. the module is ok (good job !) But some time the connection to AD is so slow, In those cases (no connection to AD aviable), i try to extract the l

Re: request appears to be processed twice with PDF::Create

2004-08-04 Thread Dermot Paikkos
Hi. On 4 Aug 2004 at 14:20, Tom Schindl wrote: > Oh. I see not a very heavy loaded service :-). Are you running the > server on win32? No slackware linux with Apache/1.3.26 (Unix) mod_perl/1.27 > > That besides, the above method didn't work (see mail to list > > "Accessing form multiples". I t

Re: [mp2] Content-Length: 0

2004-08-04 Thread Geoffrey Young
Denis Banovic wrote: > Hi! > > I just got a new Server with apache 2.046 and mp2 > > I have some problems when running under mod_perl, that Content-Length: 0 always > shows 0 Byte > > When running under cgi, content length is there. > > Has someone had something similar? > > Do I have to ta

Re: request appears to be processed twice with PDF::Create

2004-08-04 Thread Tom Schindl
Dermot Paikkos wrote: Hi, [...] These reports are actually users clock-in/clock-out times for the week. So the reports would are generated weekly printed and rarely used again. The issue was that if the HR person uses IE5/6 the Oh. I see not a very heavy loaded service :-). Are you running the

Re: AuthenNTLM and login

2004-08-04 Thread Shannon Eric Peevey
Quoting Arnaud Blancher <[EMAIL PROTECTED]>: hi, i use authenNtlm on debian whith an Active directory. the module is ok (good job !) But some time the connection to AD is so slow, In those cases (no connection to AD aviable), i try to extract the login of the remote user. Do you know if it possibl

[mp2] Content-Length: 0

2004-08-04 Thread Denis Banovic
Hi! I just got a new Server with apache 2.046 and mp2 I have some problems when running under mod_perl, that Content-Length: 0 always shows 0 Byte When running under cgi, content length is there. Has someone had something similar? Do I have to take care of the content_length? Thanks Denis

Re: request appears to be processed twice with PDF::Create

2004-08-04 Thread Dermot Paikkos
Hi, Perhaps your right but let me explain what the problem is again because you obviously far better at this and I am not even a good perl scripter so your code makes little sense and I am not sure I see the problem you are trying to fix. These reports are actually users clock-in/clock-out times

Re: request appears to be processed twice with PDF::Create

2004-08-04 Thread Tom Schindl
Hi, what you really want is an intelligent caching behaviour: 1. Generate PDF if not exists in Filesystem (the advantage is that multiple processes have a access to this PDF) or BerkleyDB for example 2a. Sent Generatated PDF from Cache 2b. Regenerate PDF if underlying data has been modified a

Re: ModPerl::Registry: Software caused connection abort

2004-08-04 Thread Stas Bekman
Dan Wilga wrote: At 12:02 PM -0700 8/2/04, Stas Bekman wrote: Upon sending the response. The original error message happens in my code when I try to "print" the HTTP header. Yeah, that's what I thought. I suppose we could handle that internally then. But I want to have a failing test first. It s