首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 网络基础 >

浏览器总是上载sakai resource工具中的HTML文件

2012-09-07 
浏览器总是下载sakai resource工具中的HTML文件[转自http://www.sakai-edu.net/node/25]当我们想在其他地

浏览器总是下载sakai resource工具中的HTML文件
[转自http://www.sakai-edu.net/node/25]

当我们想在其他地方引用resource工具中的资源时(通常是一个html文件),可能会遇到浏览器直接下载该资源,而不是在浏览器中直接显示。

这种情况可以通过修改sakai配置文件来解决

view sourceprint?1 # Force browser to download rather than render inline any file served from content hosting with a content-type of text/html. 

# Default=true

content.html.forcedownload=false

[思开社区 http://www.sakai-edu.net ]

热点排行