httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: mod_proxy to IIS gives corrupted data
Date Fri, 07 Jun 2002 07:40:36 GMT
Sounds like the problem described here:
http://www.apache.org/dist/httpd/binaries/win32/#xpbug
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q317949

I had alot of trouble with this on Windows XP and got corrupt output from CGIs, but the hot
fix from MS seem to be working. If you think it could help, try to get the fix from Microsoft.
Let me know if you want to try it and for some reason can't get it from them (they can be
very confusing on this).

Regards,
Robert Andersson
  ----- Original Message ----- 
  From: Simon 
  To: users@httpd.apache.org 
  Sent: Tuesday, June 04, 2002 9:23 PM
  Subject: mod_proxy to IIS gives corrupted data


  To get more control over my rewritten URLS and host header preprocessing I
  am using Apache 2 on XP to connect to IIS (also since I'm on XP professional I can
  only host one server in IIS so I need to do this).

  I am using apache's Proxy module to redirect requests to my server. I made
  a very very simple page which posts back to itself and changes a value.

  Normally the page works fine but when i pass it through apache i get
  corrupted output (shown below). I've tried all different setting in apache. I've tried
  explicitly flushing the response stream but I cannot get it to work. Ive had no problems
with the
  proxy module elsewhere.

  I've read somewhere that someone has had a problem with a bsd version of mod_proxy
  so perhaps this is the same issue. What gets me though is that when i go to the page initially
  it works fine through the proxy. even the posted data gets through correctly. its only when
  i actually try to do a redirect (absolute or relative) - or just reload the original page
that i 
  get this problem.

  How can I fix this. Are microsoft sending any special headers or something
  like that? how can i view such headers?

  -simon


  <VirtualHost *>

       ServerName alias.mydomain.com

       ProxyVia On
       NoCache *
       ProxyPass / http://www.proxiedsite.com:8080/
       ProxyPassReverse / http://www.proxiedsite.com::8080/

  </VirtualHost>

  ----------------------------------------------------------------------------
  ---------------
  corrupted output - using mod proxy
  ----------------------------------------------------------------------------
  ---------------
  oiRuyOIOP+BOuwoxrjUNg==" />

     <input name="TextBox1" type="text" value="kdf" id="TextBox1"
  style="Z-INDEX: 101; LEFT: 130px; POSITION: absolute; TOP: 212px" />
     <input type="submit" name="Button1" value="Button" id="Button1"
  style="Z-INDEX: 102; LEFT: 130px; POSITION: absolute; TOP: 253px" />
     <input name="TextBox2" type="text" value="kdf **" id="TextBox2"
  style="height:20px;width:166px;Z-INDEX: 103; LEFT: 126px; POSITION:
  absolute; TOP: 168px" />
    </form>
   </body>
  </HTML>

  0


  0
  ----------------------------------------------------------------------------
  ---------------

  ----------------------------------------------------------------------------
  ---------------
  expected output - bypassing mod proxy
  ----------------------------------------------------------------------------
  ---------------

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  <HTML>
   <HEAD>
    <title>nothing</title>
    <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
    <meta name="CODE_LANGUAGE" Content="C#">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema"
  content="http://schemas.microsoft.com/intellisense/ie5">
   </HEAD>
   <body MS_POSITIONING="GridLayout">
    <form name="nothing" method="post" action="nothing.aspx?d=fdf"
  id="nothing">
  <input type="hidden" name="__VIEWSTATE"
  value="dDw0NjgyMTgwODQ7Oz5IfqYLAoiRuyOIOP+BOuwoxrjUNg==" />

     <input name="TextBox1" type="text" value="simon" id="TextBox1"
  style="Z-INDEX: 101; LEFT: 130px; POSITION: absolute; TOP: 212px" />
     <input type="submit" name="Button1" value="Button" id="Button1"
  style="Z-INDEX: 102; LEFT: 130px; POSITION: absolute; TOP: 253px" />
     <input name="TextBox2" type="text" value="simon **" id="TextBox2"
  style="height:20px;width:166px;Z-INDEX: 103; LEFT: 126px; POSITION:
  absolute; TOP: 168px" />
    </form>
   </body>
  </HTML>

  ----------------------------------------------------------------------------
  ---------------





Mime
View raw message