1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

IIS url rewrite exception

Discussion in 'Site & Server Administration' started by stephan2307, Dec 16, 2019.

  1. #1
    We are hosting some sites on IIS. We have the url rewrite module installed and are rewriting anything that isn't https to https.

    Now we come across an issue where for a very specific file we need to turn this rewrite off. But for some reason it doesn't work. It still rewrites to https.

    Can anyone see what I am doing wrong?

    Thanks.

    [​IMG]
     
    stephan2307, Dec 16, 2019 IP
  2. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #2
    Found my mistake. Changed {QUERY_STRING} to {URL} and all working now.
     
    stephan2307, Dec 16, 2019 IP
    JEET likes this.
  3. tuxandrew

    tuxandrew Active Member

    Messages:
    63
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    68
    #3
    Great :) Thanks for the heads up with solution.
     
    tuxandrew, Dec 16, 2019 IP