InBound Rule for URL Rewrite removes all Response Headers
I am working on a rule that we can add that will rewrite / redirect to a maintenance page when we are doing maintenance and need the app pool off.I am using Regular Expressions to match to all...
View ArticleURL Rewrite and preserve the source-ip in log files
On an installation with an ARR server (in DMZ) handling all access (ARR Reverse Proxy enabled) for a domain (www.mydomain.com), with a URL rewrite rule that sends the request to the application server...
View ArticleBlock external image links (Reverse hotlinking)
We allow our users to have their own sites via a CMS. We do not want them hotlinking to images thate are not on our domain. Is there a server-level method (i.e. via URL Rewrite) to block any such...
View ArticleASP.Net https redirect only for certain pages
A site I maintain currently has the URL Rewrite rule shown below, which redirects all http traffic to https.There is a requirement to only have pages that start with www.mydomain.com/test to redirect...
View ArticlePossible bug in IIS url rewrite module or is it just me?
Okay, so I came up with the brilliant idea to run a W2012 IIS8 with rewrite rules to do some reverse proxying for me, not because it's the best choice, but because I didn't want yet another box solving...
View Articlerewrite rule with ampersand
I have the following rule:<rule name="cutoff-lasers-flame-plasma-waterjet/laser-cutters%20lewis" stopProcessing="true"><match...
View ArticleRewrite from a list randomly
Hi,To avoid having multiple configurations clientside or one webserver per application we would like to randomly alternate between two directories at a server level. I would like to know how i can get...
View ArticleHelp with rewrite on space (%20) pattern
Greetings,I would like to rewrite my URL in IIS but failed. Not so sure why it never execute the rewrite.From: http://servername.com/show.aspx?k=abc&a=(path:http://abc.com OR...
View ArticleProblem htaccess to web.config
Hey,i have a big Problem i convert my htaccess to web.config but it doesent work.Here is my Htaccess:DirectoryIndex index.php AddDefaultCharset utf8 RewriteEngine On # Upload settings php_value...
View ArticleHow to cater conflicting ports(SSL and 80)
I have a port conflict issue. I need my IISExpress to be able to cater these web request:**http:// localhost:44567/**and**https:// localhost:44567/**I know these are conflicting ports since SSL...
View ArticleIIS Express Port conflict
I have a port conflict issue. I need my IISExpress to be able to cater these web request:**http:// localhost:44567/**and**https:// localhost:44567/**I know these are conflicting ports since SSL...
View ArticleCan't fix rewrite problem
want to rewrite some URLs. I have the following lines in web.config:<rewrite><rewriteMaps><rewriteMap name="StaticRewrites"><add key="/WhereCanIdownloadeBooks.html"...
View ArticleRewrite filemap giving 404 error- any fix?
HI everyone,I have tried to enable friendly url. I have more than thousand links. So I prefer the filemap rewrite url and followed steps in the link...
View ArticleURL rewrite of query string parameter
I've been unable to find an example along these lines. I have a couple of products that are being retired, and their replacements are already available. Essentially, I'd like to find any URLs that...
View Article1 hosting 2 different sites, redirect
Hi! I'm actually not a programmer and I've been stuck with this for a while:I have one hosting with two domains and two different sites:band.com (main) and studio.com (2nd)I want to do a web.config...
View ArticleCreate subdomain daynamic using php code
Hi,I am a PHP Developer new to IIS.currently working on a e-commerce site which is build in php and hosted on IIS.i want to create subdomain for each vendorLike, vendor1.domain.com...
View ArticleURL Rewrite for SSL redirection
Can URL Rewrite be used to change http: to https: for directories on my site which require ssl? If not, does anybody have any suggestions on how to achieve this?Thanks in advance.
View ArticleAdd "Domain.com" to the end of a URL
I have a issue where users could potenially type in http://hostname which gets redirected(I created the rule already) to https://hostname. The problem is that we have a wildcard cert for *.domain.com...
View ArticleHow to check if folder has SSL enabled or not?
Is there a way to check if a folder has SSL enabled or not as one of the conditions for a rule?
View ArticleURL Rewrite Module - Error 500.52
Hi,I have a problem with URL Rewrite. Here are my rules:<rewrite><rules><rule name="ReverseProxyInboundRule3" enabled="true" stopProcessing="true"><match url="(.*)" /><action...
View Article