« Previous Next »

Thread: could not login after using APR as a proxy :: do APR not support post data?

Last post 06-16-2009 12:19 PM by anilr. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-14-2009, 8:34 AM

    could not login after using APR as a proxy :: do APR not support post data?

    Testing APR as a proxy server, i came across a tinny problem.

    serverTest: http://localhost/   ____i test iis7 on my working PC

    remoteServer: http://vblog.bojistudio.org  _____this is an online website belong to me

     object: while request to http://localhost/(.*) , iis7 will rewrite to http://vblog.bojistudio.org/(.*)

    it borther me just a few hours to learn url_rewrite rules , and finally i could request http://localhost and then see a same picture as i could see on http://vblog.bojistudio.org.

    however!!!

    i could not login to my site using http://localhost like url !!!

    well ,then , how could i fixed it ?

    i have to guess , APR  do not support post data , does it?

     

  • 06-15-2009, 12:31 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: could not login after using APR as a proxy :: do APR not support post data?

    ARR definitely does support POST data - can you collect failed request tracing for the requests you are making through ARR when trying to log into http://localhost - use status-code 200-999 as failure condition to catch all requests, also, if you install tracing after ARR, you may need to repair ARR installation to make sure that the ARR areas appear in your failed-request-trace rule.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-16-2009, 7:49 AM In reply to

    Re: could not login after using APR as a proxy :: do APR not support post data?

    hello "anilr"   , appreciate for your reply

    "collect failed request tracing " —— actually , i don't know how to trace , but i knew a way by using a tool called "httpwatch" or firefox-firebug which could record all my request  and response data , and also would be  status-codes there.

    and, sorry "anilr"  , while i test again on a remote machine , it works again.

    this make me find an interesting thing :

    when i use http://localhost to test , it could not function correctly.

    but if i use http://172.31.89.3 which is the ip of "localhost" , everything goes all right

    could you explain that ?

  • 06-16-2009, 12:19 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: could not login after using APR as a proxy :: do APR not support post data?

    Please see this link on how to use failed request tracing to collect more info - please collect failed request traces for the failure and success case.  You can e-mail me the trace xml files at anil (dot) ruia (at) microsoft (dot) com

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (4 items)