ProxyPass IIRF transform old location without port
description
When you use proxypass to get an apache hosted app in port 8080, IIRF transform the old location url to the same url without port, so when you try to get the site always shows a blank page.
LOG FILE.
Thu Mar 29 15:19:20 - 9736 - ProxyRequest: segments(0) totalBytes(0)
Thu Mar 29 15:19:20 - 9736 - DoRewrites: Proxy complete: 0 chunks, 0 bytes'
Thu Mar 29 15:19:20 - 9736 - ReleaseOrExpireVdirConfig: vdir '/LM/W3SVC/1157434651/Root' (era=0) (rc=0) (Expired=0) (ptr=0x01D26370)...
Thu Mar 29 15:19:27 - 9736 - IsIniChainUpdated: D:\Inetpub\entretonos\Iirf.ini NO
Thu Mar 29 15:19:27 - 9736 - IsIniChainUpdated: return FALSE
Thu Mar 29 15:19:27 - 9736 - IsIniChainUpdated: return FALSE
Thu Mar 29 15:19:27 - 9736 - GetVdirConfig: Obtain vdir '/LM/W3SVC/1157434651/Root' (era=0) (rc=1) (Expired=0) (ptr=0x01D26370)...
Thu Mar 29 15:19:27 - 9736 - HttpFilterProc: SF_NOTIFY_URL_MAP
Thu Mar 29 15:19:27 - 9736 - HttpFilterProc: cfg= 0x01D26370
Thu Mar 29 15:19:27 - 9736 - HttpFilterProc: SF_NOTIFY_AUTH_COMPLETE
Thu Mar 29 15:19:27 - 9736 - DoRewrites
Thu Mar 29 15:19:27 - 9736 - GetHeader_AutoFree: getting 'url'
Thu Mar 29 15:19:27 - 9736 - GetHeader_AutoFree: 2 bytes ptr:0x000DE478
Thu Mar 29 15:19:27 - 9736 - GetHeader_AutoFree: 'url' = '/'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'QUERY_STRING'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 1 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result ''
Thu Mar 29 15:19:27 - 9736 - GetHeader_AutoFree: getting 'method'
Thu Mar 29 15:19:27 - 9736 - GetHeader_AutoFree: 4 bytes ptr:0x0009FC38
Thu Mar 29 15:19:27 - 9736 - GetHeader_AutoFree: 'method' = 'GET'
Thu Mar 29 15:19:27 - 9736 - DoRewrites: New Url, before decoding: '/'
Thu Mar 29 15:19:27 - 9736 - DoRewrites: Url (decoded): '/'
Thu Mar 29 15:19:27 - 9736 - EvaluateRules: depth=0
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: getting 'SCRIPT_NAME'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: 2 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: result '/'
Thu Mar 29 15:19:27 - 9736 - EvaluateRules: no RewriteBase
Thu Mar 29 15:19:27 - 9736 - EvaluateRules: Rule 1: pattern: ^/(.*)$ subject: /
Thu Mar 29 15:19:27 - 9736 - EvaluateRules: Rule 1: 2 match
Thu Mar 29 15:19:27 - 9736 - ReplaceServerVariables: alloc 38 bytes
Thu Mar 29 15:19:27 - 9736 - ReplaceServerVariables: in='http://66.119.68.154:8080/movistar/$1' out='http://66.119.68.154:8080/movistar/$1'
Thu Mar 29 15:19:27 - 9736 - GenerateReplacementString: alloc 37 bytes
Thu Mar 29 15:19:27 - 9736 - ApplyUrlEncoding: in 'http://66.119.68.154:8080/movistar/'
Thu Mar 29 15:19:27 - 9736 - ApplyUrlEncoding: out 'http://66.119.68.154:8080/movistar/'
Thu Mar 29 15:19:27 - 9736 - GenerateReplacementString: result 'http://66.119.68.154:8080/movistar/'
Thu Mar 29 15:19:27 - 9736 - EvaluateRules: Result (length 35): http://66.119.68.154:8080/movistar/
Thu Mar 29 15:19:27 - 9736 - EvaluateRules: returning 999
Thu Mar 29 15:19:27 - 9736 - DoRewrites: Proxy to: 'http://66.119.68.154:8080/movistar/'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'ALL_RAW'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 766 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result 'Connection: Keep-Alive
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Encoding: gzip, deflate
Accept-Language: es-ni
Cookie: __utma=125123990.184905007.1331407682.1331407682.1332442109.2; __utmz=125123990.1332442109.2.2.utmcsr=intranetclientes|utmccn=(referral)|utmcmd=referral|utmcct=/Pages/atencionclientes/RecargaElectronica.aspx
Host: entretonos.movistar.com.ni
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
UA-CPU: x86
'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'REQUEST_METHOD'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 4 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result 'GET'
Thu Mar 29 15:19:27 - 9736 - IirfProxy_TryRelayEmptyBodyRequest: http://66.119.68.154:8080/movistar/
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: Connection: Keep-Alive
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Encoding: gzip, deflate
Accept-Language: es-ni
Cookie: __utma=125123990.184905007.1331407682.1331407682.1332442109.2; __utmz=125123990.1332442109.2.2.utmcsr=intranetclientes|utmccn=(referral)|utmcmd=referral|utmcct=/Pages/atencionclientes/RecargaElectronica.aspx
Host: entretonos.movistar.com.ni
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
UA-CPU: x86
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr Connection: Keep-Alive
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr Accept-Encoding: gzip, deflate
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr Accept-Language: es-ni
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr Cookie: __utma=125123990.184905007.1331407682.1331407682.1332442109.2; __utmz=125123990.1332442109.2.2.utmcsr=intranetclientes|utmccn=(referral)|utmcmd=referral|utmcct=/Pages/atencionclientes/RecargaElectronica.aspx
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr Host: entretonos.movistar.com.ni
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: hdr UA-CPU: x86
Thu Mar 29 15:19:27 - 9736 - ParseAllRaw: found 8 headers
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'REMOTE_ADDR'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 15 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result '10.108.111.141'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'LOCAL_ADDR'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 14 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result '10.108.105.44'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'HTTP_REFERER'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 128 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result ''
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'HTTP_USER_AGENT'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 127 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'HTTP_ACCEPT'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 272 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'SERVER_NAME'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 27 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result 'entretonos.movistar.com.ni'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: getting 'REQUEST_METHOD'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: 4 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable_AutoFree: result 'GET'
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: host(66.119.68.154) path+query(/movistar/)
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: rh(0x01D29C20) nh(66.119.68.154) sn(entretonos.movistar.com.ni) la(10.108.105.44) ra(10.108.111.141) ts(0)
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header Host: 66.119.68.154
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header Via: 1.1 10.108.105.44 (IIRF v2.1)
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header X-Forwarded-Server: entretonos.movistar.com.ni
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header X-Forwarded-For: 10.108.111.141
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header Connection: Keep-Alive
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header Accept-Encoding: gzip, deflate
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header Accept-Language: es-ni
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header Cookie: __utma=125123990.184905007.1331407682.1331407682.1332442109.2; __utmz=125123990.1332442109.2.2.utmcsr=intranetclientes|utmccn=(referral)|utmcmd=referral|utmcct=/Pages/atencionclientes/RecargaElectronica.aspx
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header X-Forwarded-Host: entretonos.movistar.com.ni
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
Thu Mar 29 15:19:27 - 9736 - GenProxyRequestHeadersString: header UA-CPU: x86
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: WinHttpConnect 66.119.68.154 8080
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: WinHttpOpenRequest: GET /movistar/
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: WinHttpAddRequestHeaders
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: WinHttpSendRequest
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: WinHttpReceiveResponse
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: WinHttpQueryHeaders
Thu Mar 29 15:19:27 - 9736 - ProxyRequest: WinHttpQueryHeaders: status 302
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: getting 'SERVER_PORT'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: 3 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: result '80'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: getting 'HTTPS'
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: 4 bytes
Thu Mar 29 15:19:27 - 9736 - GetServerVariable: result 'off'
Thu Mar 29 15:19:27 - 9736 - Proxy_SetResponseHeaders: starting status 302
Thu Mar 29 15:19:27 - 9736 - Proxy_SetResponseHeaders: status NOT 200, not TIMEOUT
Thu Mar 29 15:19:27 - 9736 - Proxy_SetResponseHeaders: status string '302'
Thu Mar 29 15:19:27 - 9736 - ConstructPprHeader: compare loc(http://66.119.68.154/movistar/index.do) pprurl(http://66.119.68.154:8080/movistar/) len(35)
Thu Mar 29 15:19:27 - 9736 - ConstructPprHeader: no match
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: Allocate 263
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: exclude 'Server: Apache-Coyote/1.1'
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: keep 'Set-Cookie: JSESSIONID=C40969A2A0A4654DC52553FB4F8E06F3; Path=/movistar'
Thu Mar 29 15:19:27 - 9736 - ConstructPprHeader: compare loc(http://66.119.68.154/movistar/index.do) pprurl(http://66.119.68.154:8080/movistar/) len(35)
Thu Mar 29 15:19:27 - 9736 - ConstructPprHeader: no match
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: transform old 'Location: http://66.119.68.154/movistar/index.do'
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: new 'Location: http://66.119.68.154/movistar/index.do'
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: keep 'Content-Type: text/html;charset=ISO-8859-1'
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: keep 'Content-Length: 0'
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: keep 'Date: Thu, 29 Mar 2012 21:19:27 GMT'
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: add 'Via: 1.1 10.108.105.44 (IIRF v2.1)'
Thu Mar 29 15:19:27 - 9736 - ProcessResponseHeaders: all Set-Cookie: JSESSIONID=C40969A2A0A4654DC52553FB4F8E06F3; Path=/movistar
Location: http://66.119.68.154/movistar/index.do
Content-Type: text/html;charset=ISO-8859-1
Content-Length: 0
Date: Thu, 29 Mar 2012 21:19:27 GMT
Via: 1.1 10.108.105.44 (IIRF v2.1)