Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们想要添加X-Frame-Options到所有 Http 响应中,除了其中的一些(因为某些页面应该显示在 iframe 中,并且在网站之外)。如何才能做到这一点?
X-Frame-Options
通过添加解决
Header set X-Frame-Options DENY .... <LocationMatch "...."> Header unset X-Frame-Options </LocationMatch>