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

IIS rewrite not working for simple redirects

All I want to do is 301 redirect from old URLs to new URLs: from /xx/yy/somefile.html to /xx/yy/somefile.aspx some examples below: add key="/products/DSD-72B-SP-summary.html" value="/products/DSD-72B-SP-summary.aspx" add…
d4d4u1
  • 5
  • 2
  • 8
0
votes
1 answer

URL Redirect Not working

I have this specific request where in i have to cut down specific part of the URL and redirect it to another rule in IIS 7 which uses URL Redirect 2.0 The requirement is to remove /?gclid=456 from www.domain.com/special/?gclid=456 Below is the Rule…
0
votes
0 answers

Does IIS URL Rewrite have Proxy_Intercept_Errors (like Nginx)

After posting this question: https://stackoverflow.com/questions/20891667/how-to-ignore-a-rule-if-the-rewrite-page-is-not-200-ok-status I stumbled across this: nginx as load balancer server out 404 page based on HTTP response from app server Which,…
Control Freak
  • 12,965
  • 30
  • 94
  • 145
0
votes
2 answers

CacheMinutesInterval dbprovider not working

I'm using the DBProvider with Url Rewrite Module and have caching turned on but sql profiler tells me the cache isn't working at all. Here is my configuration setting.
Ogi
  • 13
  • 4
0
votes
1 answer

Regular expression in web.config rewrite not working

I am having a tough time getting the regular expression right. In the example below, the string is appended with _Schedule to go to the schedule.aspx page with the matching parameter. I just cant seem to get the regular expression correct, but…
Soren
  • 797
  • 5
  • 15
  • 32
0
votes
1 answer

IIS URL rewriting fails

I'm trying to implement simple IIS URL rewrite. I want to rewrite URL: about.test.local to text.local/about.html . In configuration below I have added rules, but it doesn't seem to work. What is the problem?
AlbertasA
  • 63
  • 7
0
votes
1 answer

Rewrite rule always redirect to wrong url

Hello All, I need to rewrite http://mysite.com/user/profile/following?profile_name=MYNAME to http://mysite.com/user/profile/MYNAME/following I have written rule like this: RewriteRule user/profile/(.*)/(.*) /user/profile/$2?profile_name=$1…
Awlad Liton
  • 9,366
  • 2
  • 27
  • 53
0
votes
1 answer

Htaccess redirect rewrite rule custom url

How would I do this please? I am having problems with my htaccess. suppose I have this url: www.testingstackzz.com/index.php?action=list&lcp=19 and I want to redirect it to a custom url which I made up like…
0
votes
1 answer

URL Rewrite fake URL

I was trying to make a URL rewrite rule in the web.config. The rule should be done to create a fake url of a page. If i have this link: wwww.mywebsite.com/en-us/mypage it should redirect to wwww.mywebsite.com/en-us/fakepage but in certain cases it…
comb
  • 463
  • 1
  • 4
  • 13
0
votes
1 answer

Need help figuring out this rewrite rule

Here is my web.config I have Primary domains like www.web1.com and www.web2.com (www is optional) that need to rewrite to sub1.mainsite.com and sub2.mainsite.com and also have www.mainsite.com active. I have been trying many different configurations…
dbinott
  • 911
  • 1
  • 11
  • 36
0
votes
2 answers

PHP Rewriting Url Not working

Here i'm facing problem with rewriting url. I'm using php(ver. above 5.0) with xampp. My current url is Original url : /localhost/test/signup.php redirect Url : /localhost/test/signup/ I wrote rewrite rules in htdocs RewriteEngine On …
0
votes
0 answers

Outbound URL Rewriting - Only possible in IIS URL Rewrite module?

Nobody using Apache mod_rewrite seems to understand what Outbound rule writing is, so I'm confused with this matter. When developing a web application, you are naturally going to have long 'ugly' links because otherwise your IDE will not have a clue…
volume one
  • 6,800
  • 13
  • 67
  • 146
0
votes
1 answer

URL Rewrite to remove file extension causes page to never load fully

I have written simple rewrite rules that rewrite .cfm extension links (using outbound rules), and resolve to the full .cfm path with an equivalent inbound rule. Example: This outbound link: http://mysite/section/page Resolves to this full…
volume one
  • 6,800
  • 13
  • 67
  • 146
0
votes
2 answers

Serve images from a directory but be accessed by a different URL path

How can I specify a URL rewrite in my web.config whereby any request for an image is served from a different directory on disk? The images are located in directory site-root\foo\bar\images. Normally they're accessible by…
p.campbell
  • 98,673
  • 67
  • 256
  • 322