httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tib <>
Subject [users@httpd] mod_status + mod_rewrite "Total Traffic" problem
Date Sun, 08 May 2011 04:01:59 GMT
I've just noticed that when a request is rewrited by mod_rewrite, its
traffic won't be accounted into "Total Traffic" by mod_status.

How would I configure Apache to correctly account all traffics
including those from rewrited URLs, or is this really a bug?

I'm using Apache/2.0.63 on freebsd (stock ports), experiments are
preformed in the following way:

dd if=/dev/urandom of=10m_file bs=1048576 count=10
cat > .htaccess
RewriteEngine On
RewriteRule ^10m_rw$ 10_file

curl -v ''  # take a note of
Total kBytes field
curl -v '' -o 10m_tmp
curl -v ''  # Total kBytes field
do increment about ~10MB
curl -v '' -o 10m_tmp
curl -v ''  # Total kBytes field
only increases a few hundred kB's

Hope somebody know a cure, thanks!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message