Quantcast
Channel: URL Rewrite Module
Browsing all 2482 articles
Browse latest View live

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 Article


URL 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 Article


Block 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 Article

ASP.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 Article

Possible 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 Article


rewrite rule with ampersand

I have the following rule:<rule name="cutoff-lasers-flame-plasma-waterjet/laser-cutters%20lewis" stopProcessing="true"><match...

View Article

Rewrite 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 Article

Help 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 Article


Problem 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 Article


How 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 Article

IIS 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 Article

Image may be NSFW.
Clik here to view.

Can'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 Article

Rewrite 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 Article


URL 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 Article

1 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 Article


Create 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 Article

URL 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 Article


Add "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 Article

How 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 Article

URL 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
Browsing all 2482 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>