Browse by Tags
All Tags »
URL Rewrite (
RSS)
A friend of mine asked me recently how to handle a situation with a dot (.) in the path for an MVC project. The path looked something like this: http://domain.com/aspnet/CLR4.0 The MVC routes didn’t work for this path and the standard IIS 404 handler...
IIS URL Rewrite supports server variables for pretty much every part of the URL and http header. However, there is one commonly used server variable that isn’t readily available. That’s the protocol—HTTP or HTTPS. You can easily check if a page...
A question came up on a blog post of mine on how to redirect a domain name that doesn’t have www in it while retaining the original domain name. Basically, to have a generic redirect to add on a www if it’s not already there. For example, how could...
An IIS 7.x URL Rewrite question that comes up often is how to redirect something.domain.com to domain.com/city. Here’s an example URL Rewrite rule to accomplish that: < rule name ="CName to URL" stopProcessing ="true" > <...
You can find this week’s video here . This week's video shows a specific trick to allow a reverse proxy—Application Request Routing in this case—how to use only one IP address per web servers while supporting many distinct sites. This is extra useful...
You can find this week’s video here . This week we take a look at how to leverage URL Rewrite for Application Request Routing (ARR) to create different rules for different virtual IP's (VIP's). This is week 32 of a 52 week series for the web pro. Picking...
URL Rewrite offers tremendous flexibility for customizing rules to your environment. One area of functionality that is often desired for URL Rewrite is to allow a large list of approved or denied IP addresses and subnet ranges. IIS’s original IP Restrictions...
As you may be guessing already, I’m a big fan of URL Rewrite for IIS. Today I cover Outbound rules, providing demos on changing the content in-flight and adding Server Variables (HTTP headers) for the browser. Also, in the 2nd half of the video...
IIS URL Rewrite is a powerful tool that I’ve grown quite fond of. One variable that URL Rewrite doesn’t have, which I wish it did, is the Server Name (Machine Name, Computer Name, whatever you want to call it). The server name isn’t a normal...
This week I cover a couple ways to obtain information about a specific server in a web farm. How can you tell which node handled your page request? Often it’s valuable to know which node is currently being served for troubleshooting the load balancer...
More Posts
Next page »