Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm not able to preview any node in Umbraco because the X-Frame-Options is set to "deny". Now this is true for the frontend, but within the:
<location path="umbraco"> </location>
I'm setting the X-Frame-Options to "SAMEORIGIN". Any ideas why the X-Frame-Options setting in Umbraco isn't working?
/David
Have you removed the header first? My tag looks like the following:
<location path="umbraco"> <system.webServer> <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" /> <httpProtocol> <customHeaders> <remove name="X-Frame-Options" /> <add name="X-Frame-Options" value="SAMEORIGIN" /> </customHeaders> </httpProtocol> </system.webServer> </location>
Hi Alex,
Yes, I do remove the header first. My header looks exactly like yours. :/
/ David
Hi David/Alex,
Did you fix this issue, I too have the same problem, and I updated the config files too.
thanks.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Preview node denied X-Frame-Options
Hi,
I'm not able to preview any node in Umbraco because the X-Frame-Options is set to "deny". Now this is true for the frontend, but within the:
I'm setting the X-Frame-Options to "SAMEORIGIN". Any ideas why the X-Frame-Options setting in Umbraco isn't working?
/David
Have you removed the header first? My tag looks like the following:
Hi Alex,
Yes, I do remove the header first. My header looks exactly like yours. :/
/ David
Hi David/Alex,
Did you fix this issue, I too have the same problem, and I updated the config files too.
thanks.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.