Transfer-Encoding: chunked in requests

2010-10-04 Thread Dorian Taylor (Lists)
Hi all, Is there a best-practice solution for dealing with requests with chunked transfer encoding? About the only thing I could do to get it to cooperate was this: # pull headers my $hdr = HTTP::Headers->new; map { $hdr->header($_, $r->headers_in->get($_)) } keys %{$r- >header

two common questions

2008-01-07 Thread lists user
1. Do you run common web program under modperl handlers? or just run them under Registry? For me I mostly wrote web scripts with CGI methods like using CGI.pm and CGI::Session, and run them under Modperl::Registry. I don't know if there's a site which is fully run by pure modperl handlers, not the

Re: apache responce time for each request

2007-11-22 Thread lists user
On 11/22/07, Ben van Staveren <[EMAIL PROTECTED]> wrote: > You can time how long it takes for someone to download the movie, > which isn't equal to the time it takes them to view it. Yes I just need the download time.How can I get it? use which handler and which function? thank you again.

apache responce time for each request

2007-11-22 Thread lists user
hello members, We run a video playing site. For each movie, we want to record its played time. ( for example, client A watched movie A for 30 minutes, client B watched movie B for 2 hours). So I think for each requested movie, it's maybe possible to get apache's responce time by modperl. But how c

modperl blog system

2007-11-14 Thread lists user
is there a free weblog system which is developed by modperl, or common perl CGI? my company's site want to add a blog entry,surely i can write one in few days,but don't like to re-make wheels. thanks guys.

strange errors on ModPerl::Registry

2007-09-28 Thread lists user
I have two sections in httpd.conf,one for modperl handler,one for registry scripts. SetHandler modperl PerlResponseHandler IP::Lookup Alias /perl/ "/home/httpd/test/" SetHandler perl-script PerlResponseHandler ModPerl::Registry Options +ExecCGI PerlOptions ParseHeaders T

basic mp questions

2007-09-26 Thread lists user
Hello, I'm reading the documents about modperl and C API for Apache.I have several questions again,thanks for any helps in advance. 1) what're the advantage of C modules than modperl modules?and what're the advantage of modperl modules than C's? 2) Where in startup.pl,I wrote, #startup.pl use M

get user's request data

2007-09-24 Thread lists user
Rather than use Apache2::Request to get user's request data, $req = Apache2::Request->new($r); @foo = $req->param("foo"); how can I use pure mp2 methods to do it? thanks.

Re: why need apache::request?

2007-09-20 Thread lists user
2007/9/20, Philippe M. Chiasson <[EMAIL PROTECTED]>: > lists user wrote: > > I have another question,since we have modperl's full features, > > Depends on how you define full features ;-) > > > why we > > need Apache::Request yet? > > It's called

why need apache::request?

2007-09-19 Thread lists user
I have another question,since we have modperl's full features,why we need Apache::Request yet? Thanks.

upgrade to mp2

2007-09-19 Thread lists user
Hello, currently we have mp1 installed.but I will upgrade it to mp2. does it have any risk?or will mp2 get conflict with mp1? thanks.

Re: mod_perl2 compiling error

2007-08-23 Thread lists user
I could never install Apache2::Request successfully. I'm running RH Linux as4,2.6.9 kernel. 2007/8/23, Manoj Bist <[EMAIL PROTECTED]>: > Hi Jon, > > Which OS platform are you working on? > > On platforms like ubuntu linux you can get precompile packages for all > these modules. > You just need to

modifying request on the fly

2006-01-27 Thread alex-lists-modperl
Hi, I need to add a unique variable to every GET request processed by the application without issuing a redirect. Is there a way to cleanly accomplish it in MP2? The following is the illustration: Request that looks like /app?m=someparams received by the browser should become /app?m=someparams&

[dbi] how many connections should i see?]

2006-01-13 Thread alex-lists-modperl
I am using Apache/mod_perl/ApacheDBI/DBI combination with connect_on_init() to provide child processes (prefork model) with connections had had been already established. On database backend, I currently see 77 connections established. netstat on the front end indicates 77 active connections. How

Re: DESTROY not called on some form of recurrence

2004-07-10 Thread lists
Quoting [EMAIL PROTECTED]: > Hi Fella's, > (..) > > Oops, think I should have told ya something more on why I think DESTROY is not handled. Well, that's very easy to say: The lines printed to STDERR from within the DESTROY function do not appear in my error_log. Though this: [EMAIL PROTECTED] li

DESTROY not called on some form of recurrence

2004-07-10 Thread lists
Hi Fella's, I'm new to this list, starting of with a question and hoping to be answering to other's.. The problem I encounter is kinda strange to me. It seems as if my objects are no longer being DESTROY'ed as soon as I have an Object (o1), that has an Object (o2) for one of his properties which

RE: Jumping out of Apache/mod_perl..

2003-12-09 Thread Jim Morrison [Mailing-Lists]
Thank you all - - sorry, I ask the question and then I've been away for a couple of days - blush.. The process is usually from half to 3 minutes - so the cleanup handler seems like a great idea - then, there are instances where it's much much longer, but in these cases it's probably easier to w

Jumping out of Apache/mod_perl..

2003-12-05 Thread Jim Morrison [Mailing-Lists]
Hello, Not sure if this isn't slightly OT, but wonder if someone can help.. I have a piece of one of my mod_perl apps that potentially takes quite a while to complete. What I would like to do is to get Apache/mod_perl to start a second process which would do the work, return a page to the user,