加载 Google Apps,同时保留我的域名

Posted

技术标签:

【中文标题】加载 Google Apps,同时保留我的域名【英文标题】:Load Google Apps, while keeping my domain name 【发布时间】:2016-04-13 08:20:31 【问题描述】:

基本上,我正在尝试重定向我自己的 URL,例如apps.mydomain.com 到 Google Apps。我想在 URL 中保留我的域名。

我尝试使用iframe,但它不会在 iframe 中加载 Google。它确实会加载其他网站。我也尝试使用 htaccess 和 [P] 标志,但它显示 index.html not found

mod_rewrite 在我的服务器上启用。

任何帮助将不胜感激。

编辑

[L] 重定向似乎有效。

【问题讨论】:

【参考方案1】:

您将无法做到这一点。出于安全原因,Google 已启用 X-Frame-Options: Deny 以防止出现这种情况。

延伸阅读:https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options

【讨论】:

以上是关于加载 Google Apps,同时保留我的域名的主要内容,如果未能解决你的问题,请参考以下文章

使用 Google Apps 脚本对范围启用数据过滤器

Google Apps脚本:表格形式数据处理,如果某些单元格为空,则删除行,同时维护某些列

如何仅通过更改域名来重定向 URL,同时保留其他 URL 参数

Google Apps脚本 - 复制到现有电子表格

在 iFrame 中嵌入 Google Apps 脚本

使用 Google Apps 脚本删除 Gmail 电子邮件的附件