Iframe with same host not working. (working with reverser proxy)

i’m trying to add php page in iframe. i’m using apache as reverse proxy. both apache and grafana are in same server. but iframe is not loading the page from same host. working with external links Ex : www.ndtv.com


HI,

Please check network/console tab of chrome dev tools for errors. Sounds like it could be a header problem since I imagine that you can browse the url in the iframe in a separate browser window? If not, it’s your proxy that’s the problem.

Marcus.

Hi Marcus,

I had issue with X frames header, it was set to “deny” now i changed it to “SAMEORIGIN”. Now its working fine.

1 Like