Questions tagged [url-rewrite-module]

Microsoft's URL Rewrite Module is a module for IIS 7 that lets website owners create custom rewrite rules for their site.

Microsoft's URL Rewrite Module is a module for IIS 7 that lets website owners create custom rewrite rules for their site.

More information:

780 questions
3
votes
2 answers

Url rewrite 2.1 stops Application pool in IIS 8.5 (return 503 status), windows server 2012R2

I install the URL Rewrite from the Web Platform Installer. No added rule. Then, when I access website url, it returned 503 code and Application Pool was stopped. It works normally when I uninstall the URL rewrite module from Control Panel. I have…
GinCanhViet
  • 353
  • 5
  • 13
3
votes
1 answer

Redirect additional domains to main .com domain using IIS7 URL Rewrite Module

How should I configure the URL Rewrite Rule in IIS7 to redirect my aditional domains ( domain.net, domain.org, domain.info) to the principal .com domain?
holiveira
  • 4,445
  • 9
  • 36
  • 39
3
votes
0 answers

Running Angular App from IIS without using URL Rewrite

My Angular web application installs in IIS under an existing web site through an MSI installer. Since its not my server, I cannot require URL Rewrite to be installed. I came up with a simple solution to just drop a Global.asax file (without code…
jjslagace
  • 232
  • 1
  • 7
3
votes
1 answer

IIS | Block page specific url except for specific internal IP address

I am trying to block a url page specific (http://www.testdomain.com/login) for all IP addresses EXCEPT for an internal admin IP address. I have no issue blocking the pattern login but I want to test locally to make sure that the internal admin IP is…
denisjoconnor
  • 115
  • 1
  • 9
3
votes
1 answer

IIS Url Rewrite to another server

I have an old url www.mydomain.com/customer/1. I changed that server to ww2 and it displays fine at ww2.mydomain.com/customer/1. On my new IIS 8.5 www server how can I put in a rewrite rule so if the user goes to www.mydomain.com/customer/1 they…
JohnWrensby
  • 2,652
  • 1
  • 18
  • 18
3
votes
2 answers

Url Rewrite Provider on Azure Web App

We use the DbProvider from the URL Rewrite Extensibility Samples for allow our rewrite rules to use db values. I'm trying to move this website to an Azure Web App. After deploying to a Windows Azure Web App, I'm getting this error: HTTP Error 500.50…
3
votes
1 answer

IIS URL Rewrite, Conditional change in URL

I've got a set of two IIS URL Rewrite rules, based on the "UserFriendlyURL" automatic rule. The point of these two rules is to take the first two querystring parameters (Type, and Series) and convert them to a user friendly URL. This page, if the…
ChristopherBass
  • 301
  • 4
  • 17
3
votes
2 answers

How do I reload asp.net configuration file cache?

I have an asp.net application that sets the configSource attribute on the rewriteRules element in web.config to point to a separate config file: My web app makes…
John
  • 772
  • 7
  • 17
3
votes
1 answer

IIS URL Rewrite issue with Tilde (~)

I have some legacy URLs that I need to redirect that have a tilde (~) as part of the URL. I'm having some issues getting the IIS Rewrite rules to work. OLD URL: http://www.example.com/~/media/something/whatever.pdf Need it to redirect…
3
votes
0 answers

How to encode special characters for IIS rewrite module

I am using the URL Rewrite module for IIS 8.5. It is an ASP.NET website (using Sitecore CMS, though I think this is not relevant here). I want to redirect an old URL such as: /legacy-pÈge to a new URL: /new-page My rewrite rules look like…
Matthew Dresser
  • 11,273
  • 11
  • 76
  • 120
3
votes
0 answers

Configuration file is not well-formed, Config source is blank

Sporadically my WebApi application stops working until i do a app pool recycle. The site gets stuck with this YSOD error: Detailed Error Information Module: IIS Web Core Notification: BeginRequest Handler: Not yet determined Error Code:…
felickz
  • 4,292
  • 3
  • 33
  • 37
3
votes
1 answer

Difference between Require SSL and using URL Rewrite in IIS

Is there improved security with web applications if you use "Require SSL" in the SSL Setting section of IIS? I was planning on creating a URL Rewrite rule.
crjunk
  • 949
  • 4
  • 21
  • 40
3
votes
1 answer

Rewrite rule not filtering referral spam correctly (anymore)

I've added below rewrite rule to my web.config. It has worked perfectly, blocking all mentioned referral spam sites. However, today suddenly I noticed that social-buttons.com popped up in my Google Analytics. How is this possible with the rule I…
Adam
  • 6,041
  • 36
  • 120
  • 208
3
votes
0 answers

Why does Facebook bot / crawler always hit the root page for my AngularJS SPA?

On a site I'm currently working on, we have the following set up: Angular JS frontend ASP.NET MVC Web API backend, on IIS Prerender.io caching service With the following rewrite rules in the web.config:
Henry C
  • 4,781
  • 4
  • 43
  • 83
3
votes
2 answers

Avoid rewriting URL's to external applications with reverse proxy on IIS?

Confluence IIS Reverse Proxy Setup I have set up a reverse proxy on IIS 7.5 for Atlassian Confluence according to instructions found in the internet. I wanted to redirect all traffic to "docs.unimaze.com" to "localhost:8090" on the same…