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

iis url rewrite a to b domain.

$
0
0

Hi Friends,

I wrote a rewrite with IIS features we add to rule. I think the rule is correct. It's not the redirect rules I wrote but rewrite. A Site to a directory when I say show the B site. 404.4 error I get. the rule in the following way. I ask your help on the subject.

<rule name="upload rewrite" patternSyntax="Wildcard" stopProcessing="true"><match url="upload/(.*)" /><action type="Rewrite" url="http://upload.b.com/{R:1}" /><conditions><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions></rule>

Viewing all articles
Browse latest Browse all 2482

Trending Articles



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