Embedding Rest disabled in 10.1 by server

Discussion created by pkeegan on Oct 15, 2012
Latest reply on Oct 23, 2012 by DCarroll-esristaff

We have some Rest endpoints embedded in iframes. We use the GeocodeServer rest end point for address validation. This worked great prior to 10.0.

At 10.1, this content is blocked with a message of "This content cannot be displayed in a frame".

Esri tech support said this is not a supported use (rest in iframe).

I think the built in AGS web server (Geronimo) is configured to block via the X-Frame-Options config.

Anyone know how to enabled the ability to embed AGS Rest endpoints in an iframe?