# 即使在后端有例外，帖子中的 iframe 仍然无法工作

**URL:** <https://meta.discourse.org/t/iframe-not-working-in-posts-even-with-exception-s-in-the-back-end/360790>\
**Category:** Support\
**Created:** [2025年四月7日 18:23 UTC](https://meta.discourse.org/t/iframe-not-working-in-posts-even-with-exception-s-in-the-back-end/360790 "2025-04-07T18:23:16Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2025年四月7日 22:36 UTC](https://meta.discourse.org/t/iframe-not-working-in-posts-even-with-exception-s-in-the-back-end/360790/4 "2025-04-07T22:36:11Z")

</div>

> [@W0RKSMARTER](#):
>
> 403错误

`allowed_iframes` 设置与 403 错误无关；您遇到此错误是出于其他原因。

如果 Discourse 不允许 iframe 源，它将不会被嵌入，例如 [见下文](https://meta.discourse.org/posts/1749484/raw)：

⬇ 此处为 iframe

⬆ 此处为 iframe

* * *

这种奇怪的现象以及您电脑上的“草稿离线”警告让我怀疑您是否有什么不兼容的东西。

例如，您在实例前面使用了 Apache 代理 - 它可能会拒绝该请求。

---

_[View the full topic](https://meta.discourse.org/t/iframe-not-working-in-posts-even-with-exception-s-in-the-back-end/360790)._
