HI,

I am facing the following problem of Garbled UI with REVERSE PROXY.

Setup Details:- An Apache/1.3.27(Win32) mod_ssl/2.8.12 OpenSSL/0.9.6d webserver 
listening on port no 80 having a filter implemented on it, is running behind a 
Reverse proxy Apache/2.0.55 (Win32) webserver listening on port no 900. The 
Reverse proxy Apache/2.0.55 webserver is redirecting every request to 
Apache/1.3.27(Win32). The configuration file of Reverse proxy Apache/2.0.55 
webserver contains following two lines to redirect the requests to 
Apache/1.3.27(Win32) webserver.

  ProxyPass / http://ps2321:80/
  ProxyPassReverse / http://ps2321:80/

 Both Apache/1.3.27(Win32) and Reverse Proxy Apache/2.0.55 (Win32) are running 
on same window machine ps2321

Filetr Implementation:-  Filetr forces the 302 response to any GET requets for 
a file residing in a particular folder inside the server root htdocs. Filter 
sets the Content-lenght to 0 and Location to an another html file residing in 
htdocs. In addition to this, filter also sets some browser cookies. For 
example, assume that there is a folder test10141 inside server root htdocs. The 
folder test10141 contains a html file "test.html". There is one more html file 
"formlogin.html" residing in htdocs.

 Problem Description:- When we access the /test10141/test.html using host:port 
of Apache/1.3.27(Win32) everything works fine and we can see the formlogin.html 
on browser. But when /test10141/test.html is accessed using host:port of 
Reverse proxy server, Garbled UI is shown on the browser.

 Browser displays following message

  Found
  The document has moved here.
  
--------------------------------------------------------------------------------
  Apache/1.3.27 Server at @@ServerName@@ Port 80
  HTTP/1.1 200 OK Date: Thu, 20 Sep 2007 12:02:39 GMT Server: Apache/1.3.27 
(Win32) mod_ssl/2.8.12 OpenSSL/0.9.6d Last-Modified: Mon, 17 Sep 2007 10:00:48 
GMT ETag: "0-260-46ee5050" Accept-Ranges: bytes Content-Length: 608 
Content-Type: text/html

 I need to click on "here" to see the "formlogin.html"

NEELAM KUMAR SHARMA
PSPL PUNE INDIA

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Pvt. Ltd. does not accept any liability for virus infected mails.

Reply via email to