Scott Forsyth's Blog

Postings on IIS, ASP.NET, SQL Server, Webfarms and general system admin.

.

  • Scott Forsyth

Hosting Needs

Training and Dev Labs

Browse by Tags

All Tags » URL Rewrite (RSS)
Redirecting Non-www to Domain Equivalent
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...
Posted: Jan 05 2012, 10:00 AM by OWScott | with 9 comment(s)
Filed under: , ,
URL Rewrite city.domain.com to domain.com/city
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" > <...
Posted: Nov 23 2011, 02:09 PM by OWScott | with 1 comment(s)
Filed under: , ,
ARR Binding Trick-Week 36
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...
Bindings and Rules for ARR-Week 32
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...
Using IP Restrictions with URL Rewrite-Week 25
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...
URL Rewrite Outbound Rules–and ServerNameVariable-Part 14 of 52
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...
URLRewrite ServerNameVariable Provider
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...
SiteServerDetails–Obtaining information about a server node in a web farm—Part 13 of 52
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...
Understanding Regular Expressions (focus on URL Rewrite)–Part 11 (Sub-Part 2 of 2)
This 2nd part (out of 2) on Regular Expressions covers the remaining tips necessary to get up to speed on a topic that at first seems daunting, but really isn’t that bad. Whether you use Regular Expressions for URL Rewrite, Visual Studio, PowerShell,...
Understanding Regular Expressions (focus on URL Rewrite)–Part 10 (Sub-Part 1 of 2)
Regular Expressions can seem difficult to understand.  In today’s lesson I attempt to bring this down to earth and make it understandable and useful for the web administrator.  While this focuses on URL Rewrite, this lesson is useful for Visual...
More Posts Next page »