6
votes
Accepted
Prevent ARR with UrlRewrite from re-writing Location header for a 302 redirect
Did you ever figure this out? I am having the exact same issue. I cannot get both situations to behave correctly. It's either I check the box, and 302 redirects get the response location header ...
6
votes
Accepted
IIS rewriting location header before ARR
My Googlefu was failing me today.
In the Server Proxy Settings pane of IIS Manager, I needed to uncheck "Reverse rewrite host in response headers".
4
votes
POST of large file is timing out, when running through ARR
In my case I resolved the problem by changing the proxy time-out
Go to IIS manager
Application requests routing
Under "actions" go to server proxy settings
Change the time-out to your desired value.
...
3
votes
Setting up IIS reverse proxy to preserve host headers
I'm struggling with the same problem. I have a solution I don't like (and I bet you won't like it either), but it does work.
If you enable preserveHostHeaders, you can then add outbound URL ...
3
votes
Make server unavailable gracefully using Powershell in ARR
Assuming your server farm is named myWebFarm and the server you're trying to set to drain is myNode1, the following PowerShell code will do the trick
Import-Module WebAdministration
$arr = Get-...
3
votes
Accepted
Is it possible to configure ARR to make TLS 1.2 outgoing connections in Server 2008 R2?
This will change the OS defaults in a way to allow all TLS versions (or even SSL if you choose). I tested this on ARR Windows 2008 R2. Windows Easy Fix Patch
2
votes
Is it possible to configure ARR to make TLS 1.2 outgoing connections in Server 2008 R2?
UPDATE Microsoft has released a patch and associated workaround steps since this answer was submitted. Please see newer answers and comments for details.
It turns out that the answer is no, it is not ...
2
votes
Why am I getting a 502 error with ARR only when SSL is enabled?
Even with IIS setup on a shared config with all the nodes, each node's Operating system is able to set SSL binds outside of IIS, which wouldnt be shared between the nodes. So what I believe the issue ...
2
votes
Why am I getting a 502 error with ARR only when SSL is enabled?
Let me answer my own question.
I disabled "Require Server Name Indication" and suddenly everything worked. This is weird because SNI was enabled on all servers in the farm for the same site ...
2
votes
Accepted
Application Request Routing reverse proxy not forwarding X-ARR-ClientCert header
X-ARR-ClientCert is sent if there was a mutual SSL handshake with ARR. Sending a request via https with the X-ARR-ClientCert header won't be enough as there really wasn't a mutual SSL handshake in ...
2
votes
Accepted
ARR Web Farm Health Test sends hundreds of requests
According to this comment on Scott Forsyth's blog, this can happen when you have a web farm on a server with multiple app pools:
The problem is that ARR doesn't have a dedicated worker process to ...
2
votes
Is it possible to configure ARR to make TLS 1.2 outgoing connections in Server 2008 R2?
Yes this is possible.
https://support.microsoft.com/en-us/help/3140245/update-to-enable-tls-1.1-and-tls-1.2-as-a-default-secure-protocols-in-winhttp-in-windows
I deployed the registry keys via GPO ...
2
votes
Wordpress wp-admin redirect loop behind IIS ARR Reverse Proxy
Possibly it happens because Host header is modified by ARR.
GET http://10.48.100.27/ HTTP/1.1
Host: 10.48.100.27
HTTP/1.1 301 Moved Permanently
Location: http://example.com/
Use preserveHostHeader ...
2
votes
Prevent ARR with UrlRewrite from re-writing Location header for a 302 redirect
I just ran into a very similar issue using IIS as a reverse proxy to another HTTP server I had locally. I had to go to the "Application Request Routing Cache" module. On the right-hand pane there's a ...
2
votes
Creating a web farm in PowerShell
The best way I've seen to accomplish this is by mixing powershell with the appcmd.exe command. Microsoft has released some sample code for setting up a farm in a docker container here.
Here's an ...
2
votes
Accepted
Microsoft IIS Rules with Reverse Proxy and Static
The regular expression in the condition in your first rule is not a valid regex for IIS. If you want the first rule to be hit when the user agent contains Baidu and the second when it does not then ...
2
votes
Accepted
Problems connecting 2nd host to NLB cluster
With NLB you need to enable MAC Address Spoofing on the virtual NIC of each NLB member.
1
vote
IIS ARR Error 502 - Web server received an invalid response while acting as a gateway or proxy server
I will post the solution for whom may have the same issue in future, you have to pick IP Address of ARR in IIS site binding.
so it should look like xxx.xxx.xxx.xxx:443 instead of *.443
1
vote
Redirect in nginx port not showing up
I solved my immedeate issue by using a traditonal redirect rule and excluding the .well-known for for certbot.
With this anything that's not in the .well-known will be redirected to https, which ...
1
vote
Accepted
IIS url rewrite to another port
You can use IIS inbound rewrite rule. It will be something like this:
For myHomePage:
For api:
May be I lost the point somewhere, but I think logic is right.
p.s. Edited my answer.
1
vote
IIS rewriting location header before ARR
In IIS 7, click the server that runs the AAR/does the rewriting (above sites, application pools, etc) - then open "Application Request Routing Cache". In the "Actions" menu on the ...
1
vote
POST of large file is timing out, when running through ARR
For iis10
Go to Application Request Routing Cache
Right click and choose Server Proxy Settings
Under the Proxy Settings section change the Time-out(seconds) value
1
vote
Accepted
ARR Redirecting Rule (ERROR 404)
I figured it out, as assumed it was from the rule.
It should be like this:
Patter (Wildcards) *myapp*
Rewrite To: http://myserver:8080/myapp{R:2}
Which means "append the second asterisk to the url ...
1
vote
IIS Application Request Routing(Monitoring and management) Powershell
I had the same problem and the culprit seems to be the "unknown" Availability and Health Status.
This is due to not having configured a correct health check for your site in the "Health Test" ...
1
vote
Outbound URL rewrite IIS 7 ARR crashing application
You will likely need to set rewriteBeforeCache to false for your outbound rules
Paul
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
arr × 140iis × 92
rewrite × 28
reverse-proxy × 24
iis-7.5 × 23
load-balancing × 16
iis-7 × 16
iis-8 × 11
windows-server-2008 × 10
ssl × 9
nlb × 9
web-farm × 9
windows-server-2008-r2 × 6
iis-8.5 × 6
tomcat × 5
asp.net × 5
windows-authentication × 5
azure × 4
apache-2.2 × 3
windows × 3
powershell × 3
web-server × 3
url × 3
iis-10 × 3
networking × 2