httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11993] - PDFs served through ProxyPass show up blank
Date Wed, 02 Apr 2003 15:44:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11993>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11993

PDFs served through ProxyPass show up blank





------- Additional Comments From rvb@rvbone.com  2003-04-02 15:44 -------
Hi,

If you wanna disable byterange transfert to enabled one-shot transfert of your
PDF (and no more have your PDF blank) you can modify the Apache source code to
force it send the "Accept-Range:" header to the "none" value (instead of "bytes"
value).
I've made a patch for the 1.3.27 version, it's surely applicable to all other
version of Apache. Get it at http://www.rvbone.com/pdfpatch (use it with patch
-p0 < pdfpatch at the apache-1.3.27 leveldir).
Or modify directly with vi the src/main/http_core.c file:
  ap_table_setn(r->headers_out, "Accept-Ranges", "bytes");
  change "bytes" with "none" !
Then recompile Apache.
You have to do this modification on the target server, it's useless on the proxy
server.

It's just a tips, waiting for a real solution from Apache team !

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message