We have a test DNS set up for our new proxy and server. When you submit the corresponding URL to browse the REST catalog, a500.52error is thrown that indicates theURL Rewritemodule cannot handle the gzip compression.
Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded ("gzip").Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded ("gzip").
We are using the same basic rewrite rules as before. However, a what's new article indicates that the content-type for JSON changed at 10.6:
The content-types for JSON and JSON with callback responses have been changed from text/plain.
If you put a format tag at the end of the URL to indicate output as JSON (?f=json), the query works just fine. Leave off the format tag and you get a500.52error.
I suspect this has something to do the withcontent-typechanges at 10.6, but I'm not sure what corrective action to take inArcGIS Server(and presumablyPortal) to address the issue. Or, maybe this is not the issue at all.
Behavior is the same inChromeandEdge.IEdoesn't know what to do with the URL; it keeps prompting you toOpen or Savetheservices.jsonfile.
Both proxy servers areWindows 2012 R2 IIS8.5. Both have CA Signed certificates and registered domains. The only other major difference is the test DNS (10.6.1 Enterprise) only acceptsHTTPS(port 443);HTTPis disabled (port 80). The architecture (other thanEnterpriseversion) is otherwise identical.
One other thing. Theexpiresheader showsWed, 31 Dec 1969 18:00:00 CST. I found articles on Apache that indicates it isconfidential/privatevariable setting in theweb.xml. But this isIIS, so I am not sure this is related.