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
2 answers

RegEx match all website links except those containing admin

I'm setting up URL Rewrite on an IIS and i need to match the following URLs using regex. http://sub.mysite.com sub.mysite.com sub.mysite.com/ sub.mysite.com/Site1 sub.mysite.com/Site1/admin but…
Kenneth Lauritsen
  • 335
  • 1
  • 3
  • 11
0
votes
1 answer

IIS 7.5 configuration sections fail to open

I published an asp.net website and now i cannot open 'error pages' or any other configuration secton. the error i receive is " there was an error while performing this operation, details: filename:\?\inetpub\siteurl.co.za\web.config " the website…
Andris Mudiayi
  • 459
  • 2
  • 6
  • 21
0
votes
1 answer

Vanity URLs with IIS URL Rewrite

I feel like this should be easy, but I'm struggling. I'd like a user to be able to go to this url: http://www.mysite.com/folder/some-id-text and have URL Rewrite direct that request…
Brent Barbata
  • 3,631
  • 3
  • 24
  • 23
0
votes
1 answer

URl rewrite automatically for anchor tag onclick

url redirect for my anchor tag or onclick url is http://localhost/re/jobs/view_jobs.php?id=14 how could i write url rewrite for this
user2610240
  • 25
  • 1
  • 9
0
votes
1 answer

Is there a Lowercase rewrite rule that will still allow CamelCaps AJAX methods?

On my iis7 box, I have a url rewrite rule in my web.config that keeps all of my urls lowercase:
secretwep
  • 706
  • 1
  • 12
  • 28
0
votes
1 answer

htaccess and RewriteRule Chain

I have a problem with htaccess rewrite_mode. when i use multiple $_GET variables in these rules, first variable get the name file that be first $_GET variable. please help me. RewriteEngine on RewriteBase /ts/ RewriteRule ^(.+)/$ …
0
votes
1 answer

UrlRewrite breaks Visual Studio 2012 Debugger

I get the following error when I try to launch the debugger in visual studio for a website project: Unable to start debugging on the web server. Help Info I have traced the problem to a tag not being recognized in the web.config file (it has a…
George Filippakos
  • 16,359
  • 15
  • 81
  • 92
0
votes
1 answer

Regex URL rewriting for custom login page

I'm implementing a custom login page for a multitenant portal where each client gets a different login page styled according to their stored settings. To achieve this I am using IIS 7.5 with the URL Rewriting module. My idea is to capture requests…
0
votes
2 answers

Reducing number of redirects - http to https

I am trying to reduce the number of redirects at my website login page in order for the page to load faster. My final task is deciding if it's possible to remove the redirect for the login page and still keep the site secure. Should I make a landing…
Rots
  • 5,506
  • 3
  • 43
  • 51
0
votes
1 answer

Can't write Url Rewrite rule

I have IIS 7.5 and want to rewrite some urls pattern is: urls like /img/[TEXT].html should be rewritten to /pages/Default.aspx?file=[TEXT].jpg I try to do it:
Oleg Sh
  • 8,496
  • 17
  • 89
  • 159
0
votes
2 answers

How to build Rewrite rules to a expecific condition

we want a subdomain to the register form. The project is a Code Igniter website. Our idea is to use register.domain.com I'm trying to build a rewrite rules to make this. If the domain is register.domain.com/whatever go to …
Oskar Calvo
  • 584
  • 1
  • 6
  • 22
0
votes
1 answer

rewriting url for tablet and smart phone

I'm using Apache's rewrite url. .htaccess file contains following redirect rules. My requirement is that, when ever I hit on the url www.temp.com/card, based on the device it should internally call that particular .do. For Example, from a smart…
Rosh
  • 1,676
  • 4
  • 21
  • 35
0
votes
1 answer

IIS Rewrite 2.0 Module - 404 errors

I've installed the IIS Rewrite 2.0 module via Web Components on my Windows Server 2012. I've read several articles but I just can't seem to get my simple rewrite to work. I would like to rewrite http://www.acme.com/news/13/Jan/20 to…
Mark
  • 687
  • 7
  • 12
0
votes
1 answer

Recycling the Application Pool creates 401 errors

I am using the Rewrite Module on IIS 7. When I restart the Application Pool I get a Authentication Required window that doesn't except any credentials that it is given and when you click cancel it goes to a 401 unauthorized page. The rewrite rule…
iambriansreed
  • 21,935
  • 6
  • 63
  • 79
0
votes
1 answer

How to redirect if rewrite_module is not available?

I am working on a codeigniter project on which I don't have privilege to change configuration, so I can't enable rewrite engine. On another case, instead apache, I am using IIS 6.0. So, how to redirect the pages in both cases so I could make the…
hsuk
  • 6,770
  • 13
  • 50
  • 80