Help me , about $r->bytes_sent

2001-06-27 Thread wac
Dear All, I want to write a handler, function : log client request file size. My code can't work: Apache Config file SetHandler perl-script PerlLogHandler My::Test Options ExecCGI My::Test package My::Test; sub handler { my $r = shift; $r->send_http_header; open (FILE,">>log.txt"

Re: Help me! about $r->bytes_sent

2001-06-25 Thread Stas Bekman
On Tue, 26 Jun 2001, wac wrote: > Dear all members: > > I have a question , I want to use mod_perl handler print file sent size. > > Apache Config file httpd.conf > = > Alias /test/ "D:/test/" > > SetHandler perl-script > PerlHandler My::Te

Help me! about $r->bytes_sent

2001-06-25 Thread wac
Dear all members: I have a question , I want to use mod_perl handler print file sent size. Apache Config file httpd.conf = Alias /test/ "D:/test/" SetHandler perl-script PerlHandler My::Test Options ExecCGI ===