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
4
votes
1 answer

Rewrite rule .htaccess for my sitemap.xml

I have a content management system plugin installed that provides a sitemap for Google under http://www.domain.com/index.php?eID=dd_googlesitemap how can I add a rewrite rule to my .htaccess that will make this sitemap available under…
Dominik
  • 4,718
  • 13
  • 44
  • 58
4
votes
3 answers

url rewriting in mvc4 with razor engine

I want to rewrite following url - http://localhost:99/Product/CategoryLevel?CategoryId=65&ProductName=Vitamins with http://localhost:99/Product/Vitamins, (or) http://localhost:99/Product/CategoryLevel/Vitamins (or) http://localhost:99/Vitamins…
4
votes
1 answer

ASP.NET - rewriting all https requests to http

My issue is precisely the one presented here, and I've decided to try rewrite all https requests to http. I've searched long and hard but there doesn't seem to be a definitive way to achieve this - see these questions (no solutions): Redirect https…
notAnonymousAnymore
  • 2,637
  • 9
  • 49
  • 74
4
votes
1 answer

redirect subfolder to subdomain/subfolder using IIS URL Rewrite

I am looking at using IIS Rewrite Module 2.0 to redirect some broken application links. Previously www.mydomain.com was our corporate site and www.mydomain.com/application1, www.mydomain.com/application2 were other applications our customers used.…
Matt Demler
  • 226
  • 1
  • 5
  • 19
4
votes
1 answer

IIS 8 and ARR with multiple other servers

I am trying to setup IIS 8 with ARR and Url rewrite 2 module to work with two other servers (running Youtrack and TeamCity) and it just dont work... Lets say my server have following URL: server.test.domain.com (i have no control about this part) so…
LightCZ
  • 695
  • 1
  • 8
  • 20
4
votes
1 answer

IIS7.5 URL Rewrite : do not translate POST to GET

I have a set of URIs with a common base-uri, where the first segment of the relative uri needs to be translated to various ports : http://base-uri/service1/* => http://base-uri:3000/service1/* http://base-uri/service2/* => …
BaltoStar
  • 8,165
  • 17
  • 59
  • 91
4
votes
2 answers

Rewrite Maps in IIS7 - Not redirecting

I'm trying to use a separate config file, named "rewritemaps.config", that contains the URLs I want to redirect. The file is in the root directory (same place as the web.config). The format of the Redirects.config file I have is:
Kurt
  • 1,868
  • 3
  • 21
  • 42
4
votes
2 answers

IIS rewrite rule to check for querystring and add it if its not there

I'm trying to make a IIS URL rewrite rule that appends an URL parameter to the URL. The url parameter is hssc. So, any url that is processed through the server, needs that parameter. Keeping in mind that some urls will have their own params already,…
M.R.
  • 4,737
  • 3
  • 37
  • 81
3
votes
0 answers

SVN reverse proxy with IIS URL Rewrite

My goal is to create a front-end reverse proxy on an SBS2011 server for my internal source control services that are hosted on a separate Apache/Debian machine. It is almost working perfectly, here is the current configuration: appcmd.exe list…
tamasf
  • 1,068
  • 2
  • 10
  • 22
3
votes
2 answers

Adding www to urls with url rewrite

I've found this code to add the www to urls without it using url rewrite.
Bth
  • 423
  • 1
  • 4
  • 11
3
votes
1 answer

Tricky htaccess redirect using a wildcard for subfolder

I have a client request to rewrite the following, where "anything" can be any named directory: https://clientdomain.com/anything/final-destination to: https://clientdomain.com/final-destination I know I can identify "anything" with the following…
mayersdesign
  • 5,062
  • 4
  • 35
  • 47
3
votes
2 answers

IIS Url Rewite: Add Trailing Slash, Preserve Anchors and Query Strings

I've searched several SO posts and haven't found what I'm looking for. It might exists but might be fairly old enough to not show up for me. I found a post (Nginx rewrite: add trailing slash, preserve anchors and query strings) so close to what I…
RoLYroLLs
  • 3,113
  • 4
  • 38
  • 57
3
votes
1 answer

URL Rewrite - Multiple query

I am trying to see how I can achieve the following rewrite…
3
votes
1 answer

ssl and rewrite tag does not recognized by visual studio in mvc3 web site web.config

I've written a simple web application using asp.net mvc3 and I have a login page which control access to the site. Every request which is not authenticated will redirect to this page. I want to use ssl to make the site secure (using https). I don't…
JGC
  • 12,737
  • 9
  • 35
  • 57
3
votes
2 answers

(413) Request Entity Too Large in IIS 10 URL Rewrite

I have an IIS 10 server configured as a basic URL Rewrite reverse proxy to preauthenticate requests directed at another web server, the calls are all presenting client certificates over SSL. I'm having issues with (413) Request Entity Too Large…
Tim Lett
  • 31
  • 1
  • 2