httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunil Pandit <spand...@csc.com>
Subject [users@httpd] ReverseProxy and application/pdf
Date Mon, 25 Mar 2013 21:30:59 GMT

Hello Experts !!!!

I am having an issue with Reverse Proxy . I am using Apache 2.2 as a
reverse proxy .

I am reverse proxying a web app which creates a page with an Object tag in
it . The Object tag contains PDF . Something like this

<object id="pdf" width="100%" height="430"
data="/ceremony/pdf/1364235708281a18U0000000MRhyIAG_UniversalLife1363263085413.pdf?org=1&packageid=040B3D95F8AF&trackid=2B921EB6D592&locatorid1=2EB8321FE1A9#toolbar=1&messages=0&navpanes=0&page=6&zoom=98.9,0,498"
 type="application/pdf"></object>

When I access this web app directly everything works fine .The problem is
when I access this web application through reverse proxy , user does not
see the PDF. On Further investigation I found that the HTML that is
displayed  does not contain the object tag .

I am not sure what I am missing as there is no error in the log . Here is
my reverse proxy configuration

<IfModule mod_proxy.c>
	ProxyRequests Off
	ProxyVia On
	ProxyPassReverseCookieDomain 20.15.93.102 localhost
</IfModule>

<IfModule mod_proxy_html.c>
	LogLevel Debug
	ProxyHTMLLogVerbose On
	ProxyHTMLEnable On
	ProxyHTMLExtended On
	###SetOutputFilter proxy-html
	xml2EncAlias ISO-8859-1 Windows-1252
	xml2EncDefault Windows-1252
</IfModule>

<location /ceremony/ >
	##RequestHeader unset Accept-Encoding
	ProxyHTMLEnable On
	SetOutputFilter INFLATE;DEFLATE
	ProxyPass http://20.15.92.214/ceremony/
	ProxyPassReverse  http://20.15.92.214/ceremony/
	ProxyHTMLURLMap http://20.15.92.214/ceremony/ /ceremony/
	ProxyHTMLURLMap / /
	Order allow,deny
	Allow from all
</location>

I would appreciate any information in this regards.


Thanks
Sunil Pandit
CSC

200 West Cesar Chavez., Austin, TX 78701
Financial Services Sector  |  p: +1-512-2755792 | spandit2@csc.com  |
www.csc.com

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.


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


Mime
View raw message