Skip to content

Instantly share code, notes, and snippets.

@hhyyg
Created January 31, 2017 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hhyyg/c88a34e68c9a8b797ad59edf9dc7cb68 to your computer and use it in GitHub Desktop.
Save hhyyg/c88a34e68c9a8b797ad59edf9dc7cb68 to your computer and use it in GitHub Desktop.
body {
padding-top: 50px;
padding-bottom: 223px;
background-image: url(/content/images/abc.png); background-image: url(/content/images/abc.png);
}
.div1 {
background-image: url(/content/images/abc.png);
}
.div2 {
background-image: url(/content/images/abc.png);
}
.div3 {
background-image: url("/content/images/abc.png");
}
.div4 {
background-image: url("/content/images/abc.png");
}
.div5 {
background-image: url("/content/images/abc.png");
}
.div6 {
background-image: url("/content/images/content/abc.png");
}
.div7 {
background-image: url(/content/images/content/abc.png);
}
<rewrite>
<outboundRules>
<rule name="RewriteCSS" preCondition="ResponseIsCss">
<match filterByTags="None" pattern="/content/([^&quot;\)]*)" />
<action type="Rewrite" value="/replacedcontents19/{R:1}" />
</rule>
<preConditions>
<preCondition name="ResponseIsCss">
<add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/css" />
</preCondition>
</preConditions>
</outboundRules>
</rewrite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment