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

URL Rewrite with SSRS not redirecting

$
0
0

I am trying to set up URL Rewrite to redirect a SSRS folder link from one host to another.  IIS and SSRS are installed and using port 80.   The redirect works on other URLs but not on SSRS URLs  

For example

http://Server1/welcome.png is successfully redirected to http://Server2/welcome.png

but

http://Server1/Reports/Pages/Folder.aspx?ItemPath=%2fTestFolder&ViewMode=List does not redirect to http://Server2/Reports/Pages/Folder.aspx?ItemPath=%2fTestFolder&ViewMode=List

It just stays on Server1.   

The failed request trace shows that the redirect was successful so maybe SSRS is stepping back in and preventing or reversing the redirect?

Another strange thing, the trace shows that the request url as http://Server1:80/images/blank.gif instead of the SSRS link from above.  Even so I would expect the rule to redirect that to http://Server2/images/blank.gif but it stays on the original Server1 URL

The rule is very simple, just to test the concept.  Any ideas?   

<rule name="CanonicalHostNameRule1" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions>
</conditions>
<action type="Redirect" url="http://Server2/{R:1}" redirectType="Temporary" />
</rule>

Thanks


Viewing all articles
Browse latest Browse all 2482

Trending Articles



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