Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

URL redirect not noticing pattern

$
0
0

Hello.

I recently converted a SharePoint farm to HTTPS and am now trying to redirect traffic to the new URL and convert it to HTTPS.

The URL used to be http://myssite and now it is https://mysite.city.prov.ca. So what I am trying to do is simply check the requested URL and if it is HTTP convert it to HTTPS and also ensure that the destination url is https://mysite.city.prov.ca as it would need to have .city.prov.ca tagged on to resolve (So add it if needed leave it if it is already there).  I have been experimenting with thehttps://{HTTP_HOST}/{R:1} as the redirect URL but it seems unless I put (.*) in my match URL pattern it does not detect the incoming url and does not redirect.

eg.  Match url pattern (http://mysite*) checks out on the test pattern button but does not redirect when applied.

Is this something that could be done with  rewrite maps?  I am just looking for suggestions on why it wouldn't redirect or general advice.

Thanks,Final :)


Viewing all articles
Browse latest Browse all 2482

Latest Images

Trending Articles



Latest Images

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