</rule> <rule name="OutboundXML" preCondition="ResponseIsXML" enabled="true"> <match pattern="(.*)http(s)?://pccgis07/(.*)" /> <action type="Rewrite" value="{R:1}http{R:2}://gis.pcc.govt.nz/{R:3}" /> </rule> <rule name="ReverseProxyOutboundRule2" preCondition="ResponseIsNotImage"> <match filterByTags="None" pattern="(.*)"http(s)?://pccgis07:6080/(.*)"(.*)" /> <action type="Rewrite" value="{R:1}"http{R:2}://gis.pcc.govt.nz/{R:3}"{R:4}" /> </rule> <rule name="OutboundXML2" preCondition="ResponseIsXML" enabled="true"> <match pattern="(.*)http(s)?://pccgis07:6080/(.*)" /> <action type="Rewrite" value="{R:1}http{R:2}://gis.pcc.govt.nz/{R:3}" /> </rule> <preConditions> <preCondition name="ResponseIsHtml1"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/html" /> </preCondition> <preCondition name="ResponseIsXML"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^text/xml" /> </preCondition> <preCondition name="ResponseIsNotImage"> <add input="{RESPONSE_CONTENT_TYPE}" pattern="^image" negate="true" /> </preCondition> </preConditions> </outboundRules> </rewrite>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.