https://bz.apache.org/bugzilla/show_bug.cgi?id=64339

--- Comment #1 from Karlo <[email protected]> ---
Was able to cleanly reproduce:

1) New VM "loadbalancer", default centos7 install, yum install httpd
mod_proxy_html, config:

# tail -n 18 conf/httpd.conf 
<VirtualHost *>
ProxyHTMLEnable On
ProxyHTMLInterp On
ProxyPreserveHost Off
ProxyPass        / http://10.0.60.188:80/
ProxyPassReverse / http://10.0.60.188:80/
ProxyHTMLURLMap http://10.0.60.188:80/ /
DocumentRoot /defaultdir/
</VirtualHost>
# Supplemental configuration
#
# Load config files in the "/etc/httpd/conf.d" directory, if any.
IncludeOptional conf.d/*.conf

2) Install vm "webserver", on 10.0.60.188, default install (yum install httpd).
Add a OpenOffice generated newdoc.docx file to /var/www/html/newdoc.docx . Make
copy newdoc.XXX [!!]
3) Request files  http://loadbalancer/newdoc.docx 
http://loadbalancer/newdoc.XXX
4) Notice headers are different:


[desktop]$ wget http://10.0.60.189/newdoc.docx
[desktop]$ wget http://10.0.60.189/newdoc.XXX
[desktop]$ xxd newdoc.docx | head -n3
00000000: 504b 0304 1400 0808 0800 c2b1 c29c c28a  PK..............
00000010: 5000 0000 0000 0000 0000 0000 000b 0000  P...............
00000020: 005f 7265 6c73 2f2e 7265 6c73 c2ad c292  ._rels/.rels....
[desktop]$ xxd newdoc.XXX | head -n3
00000000: 504b 0304 1400 0808 0800 b19c 8a50 0000  PK...........P..
00000010: 0000 0000 0000 0000 0000 0b00 0000 5f72  .............._r
00000020: 656c 732f 2e72 656c 73ad 924d 4b03 410c  els/.rels..MK.A.
[desktop]$ file * 
newdoc.docx: Zip archive data, at least v2.0 to extract
newdoc.XXX:  Microsoft Word 2007+

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to