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 Location /test/ SetHandler perl-script PerlLogHandler My::Test Options ExecCGI /Location My::Test package My::Test; sub handler { my $r = shift; $r-send_http_header;

Help me! about $r-bytes_sent

2001-06-26 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/ Location /test/ SetHandler perl-script PerlHandler My::Test Options ExecCGI /Location

Re: Help me! about $r-bytes_sent

2001-06-26 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/ Location /test/ SetHandler perl-script PerlHandler