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

RewriteRule, can't make it work

URL: http://mysite.com/amember/login.php?amember_redirect_url=/ajax/?id=9999 I need it to be rewritten to: http://mysite.com/amember/login.php?amember_redirect_url=/?p=9999 I mean all of the urls of that type (with ID on the end) My…
2
votes
1 answer

UrlRewriter.NET - simple rewrite rule, but how?

I have just installed the sample from Urlrewriter.net, but I can't seem to figure out the rule for accomplishing my problem. Very simple: If the user is navigated to this page: http://localhost/UrlRewriteTest/Default.aspx?PageID=33 The Url should…
micknt
  • 297
  • 1
  • 8
  • 23
2
votes
1 answer

IIS Url Rewrite Module and Dynamic Compression

I have some problem with using rewrite module. I have an exception when trying to use Dynamic Compression. So to fix it by disabling this feature in "web.config" file: But…
looper
  • 246
  • 1
  • 7
2
votes
1 answer

Exposing Java web application via IIS through ISAPI or URL rewrite

I want to expose a Java application via IIS. I found an answer in Running a java web application in IIS that refers to the isapi redirector. However what also seems to work for me is to set up IIS URL rewriting rules. E.g. I have set up a rewrite…
Jeroen Huinink
  • 1,947
  • 3
  • 17
  • 31
2
votes
1 answer

Safari Adds Trailing Slash

I've got an ASP.NET website that uses URLRewrite 2 to remove trailing slashes from the URL. We noticed that Safari on Mac does not obey this rule. It always leaves the trailing slash in the URL. SEO Moz is showing both URLs which appears to be a…
Joe Hakooz
  • 573
  • 1
  • 5
  • 18
2
votes
1 answer

Stopping hotlinking from a directory using web.config

I have a folder on my site for caching large flash movies and I want to stop other people from embedding them in their site; I would like to try and do this using the web.config file only. How could this be done? My first attempt at a rule (which…
James
  • 30,496
  • 19
  • 86
  • 113
1
vote
1 answer

Rewrite old .aspx path to new MVC path

i have a mixed aspx/MVC webapp project and need to rewrite incoming URL's either in the MVC routing or through IIS rewriting. whatever works. I cannot figure this out. I have the following OLD path: /Article/Nugget/Article.aspx?articleId=30 and i…
billy jean
  • 1,399
  • 4
  • 25
  • 45
1
vote
3 answers

Can't get index.php removed from kohana URL in IIS 7

I know there are already several other posts for this topic, but I've tried everything they've said and I can't seem to get it to work. I have the php kohana framework installed in http://localhost/kohana and it's working. The problem is that I…
krische
  • 1,010
  • 3
  • 11
  • 17
1
vote
0 answers

IIS URL Rewrite/Redirect to different website on same server

am trying to figure out if IIS 7 can do this: www.somesite.com => maps to port 80 (already works) www.somesite.com/Integration -> localhost:2002/Integration. I am still experimenting with the IIS Rewrite, but haven't got this working yet. Haven't…
user725819
  • 75
  • 1
  • 6
1
vote
2 answers

IIS7 URL Rewrite rule for service versioning scenario

To version a RESTful service, I would like to do the following with the URL Rewrite Module; Map https://server/service/ to server/service/v1/ if the Accept header (HTTP_ACCEPT?) is application/vnd.mycompany.service+xml For the next version of the…
larsw
  • 3,790
  • 2
  • 25
  • 37
1
vote
1 answer

301 redirect not working in IIS 7

I need to create this 301 redirect rule: /blog/item.asp?n=12817 redirect to /blog/item/12817 I created a rule in IIS URL Rewrite module with these parameters : Pattern: ^blog/item.asp\?n=([0-9]+) redirect url: blog/item/{R:1} When I test it in IIS…
Burjua
  • 12,506
  • 27
  • 80
  • 111
1
vote
1 answer

Redirect not redirecting on Apache

Below is the content of .htaccess file Options All -Indexes RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.(([a-z0-9_]+\.)? DOMAIN NAME \.in)$ [NC] RewriteRule .? https://%1%{REQUEST_URI} [R=301,L] RewriteRule…
Sourav
  • 17,065
  • 35
  • 101
  • 159
1
vote
0 answers

IIS Reverse proxy for XWiki on Tomcat

I have XWiki instance running and I am using IIS as reverse proxy to the tomcat for XWiki. For some urls, I get 500 errors. When I access XWiki direct url, I don't get that 500. It is certainly IIS rewrite module which does something that I can't…
Andy Johnson
  • 639
  • 8
  • 27
1
vote
0 answers

IIS Rewrite - Redirect Rule and Add Response Header together

In IIS, I have a set of redirect rules using IIS Rewrite module. In that, I would like to redirect an URL as well as add custom header to the response. I have setup redirect rule and an outbound rule to set the headers. It seems that when a redirect…
1
vote
1 answer

Deployed Angular Application in Azure but on refresh getting URL Rewrite Module Error

We have the angular application deployed in azure, but on refresh application is breaking and we are getting an error, that is saying "The page cannot be displayed because an internal server error has occurred." Here is the web.config file present…