Apache problem: mod_deflate with mod_proxy

I am using Apache 2.2.3 on RHEL5 and having problems to get mod_deflate work with mod_proxy. mod_deflate will compress files by mime-type just fine as long as those files are served statically from the local server. However, files served via dynamic php application (ie, MediaWiki) or via reverse-proxy site (port 8000 on localhost) don't get compressed at all. (They get served as uncompressed just fine).

Just in case, I checked with the ASF bug report list and found that a related bug was fixed in 2.2.2. This bug was very specifically related to this problem, and so just in case, I logged this as "Reopen". But maybe I have a stupid config error someone can see?

LoadModule proxy_module modules/mod_proxy.so
LoadModule deflate_module modules/mod_deflate.so

AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/rtf
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# Exclude Mozilla 4 (and compatible browsers) cannot handle deflation
BrowserMatch ^Mozilla/4             gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678]     no-gzip
# early IE6 cannot handle deflation of non-html files.
# (not sure about IE5)
BrowserMatch \bMSIE\s(6)            !no-gzip
# IE 7+ fine. Only IE 7 tested
BrowserMatch \bMSIE\s([7-9]|1[0-9]) !no-gzip !gzip-only-text/html

<Directory />
RewriteEngine   On
RewriteRule     ^/(.*\.php)$    http://localhost:8000/$1    [P,PT]
</Directory>

In terms of configuration and syntax personally I don't see any errors.
P.S. - Oh, this was posted two weeks ago, sorry.... The holidays made me lazy.

Thanks for double-checking. The problem isn't syntactical. The server runs okay. However, it seems functionally incorrect. Anyone have experience with mod_deflate?

By the way, after log analysis, I determined mod_deflate saves approximately 3% of traffic, not including headers, which is to say, very little.