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

Re: apache responce time for each request

2007-11-22 Thread Ben van Staveren
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. Viewing statistics can only be had from the player, so as long as your player reports back when someone started viewing and when they hit the pause/ stop/play buttons, yo

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.

Re: apache responce time for each request

2007-11-22 Thread John ORourke
lists user wrote: 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?

Re: GATEWAY_INTERFACE CGI-Perl

2007-11-22 Thread Neil Shephard
Malcolm J Harwood-3 wrote: > > On Wednesday 21 November 2007 6:21:57 am Neil Shephard wrote: > >> Alias /cgi-perl /usr/local/apache/chi-perl/ >> > > Should that be: > Alias /cgi-perl /usr/local/apache/cgi-perl/ > rather than > Alias /cgi-perl /usr/local/apache/chi-perl/ > ? > >

Modifiable APR::Request::Param::Table

2007-11-22 Thread Jimmy Li
Hello, I'm currently using the tied APR::Request::Param::Table object to get request parameters. However, this tied object does not implement STORE so I cannot add or modify information in this object. For my project I need to be able to modify request parameters. I've tried doing this: my %param

CGI->params() should be tainted, right?

2007-11-22 Thread jalex
I'm running mod_perl 2.0.2 under apache 2.0.54. After adding "PerlSwitches -wT" to my apache config, I wanted to test that I had taint mode was indeed working, so I wrote a test script that purposely misused a CGI parameter, expecting the taint exception to be thrown. I was surprised to find it wa