【问题标题】:server side include not working with Google drive web hosting服务器端包括不使用 Google Drive 网络托管
【发布时间】:2012-12-04 18:39:24
【问题描述】:

我最近开始使用 Google Drive 来托管我的小网站 (www.warriner.info)

到目前为止,我一直在使用 javascript 和 document.write() 来生成在许多页面上重复的 html(即:导航菜单栏)。我正在尝试切换到使用服务器端包含,但 Google Drive 似乎不支持它。

不支持的意思是我将#include 行放在我的html 代码中,但它们只是显示为cmets,实际上不包含任何内容。

如果您访问上面的 URL 并查看我的主页的来源,您就会明白我的意思。

其他人有使用 SSI 和 Google Drive 的经验吗?

【问题讨论】:

    标签: include server-side google-drive-api ssi


    【解决方案1】:

    SSI 是 Apache -webservers mod_include module 的一项功能。

    【讨论】:

      猜你喜欢
      • 2014-10-26
      • 2014-07-10
      • 1970-01-01
      • 1970-01-01
      • 2014-07-05
      • 2020-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多