您的位置:首页 > 编程语言 > ASP

Asp.Net FckEditor在web.config中配置的具体实例

2013-06-11 23:15 791 查看
1、开发网站过程中fck配置:
1
<appSettings>
2
    <add key="FCKeditor:BasePath" value="~/fckeditor/"/>
3
    <add key="FCKeditor:UserFilesPath" value="/[网站名,如:OsChina]/Files/"/>
4
</appSettings>
2、发布网站时修改fck配置:
1
<appSettings>
2       www.jb51.net
    <add key="FCKeditor:BasePath" value="~/fckeditor/"/>
3
    <add key="FCKeditor:UserFilesPath" value="/Files/" />
4
</appSettings>
3、当网站发布到IIs中后,需要将上传的图片重新传一遍,否则网页上看不到图片
     网站结构为:网站名/其它文件及文件夹
                                    /Files
                                    /Default.aspx
                                    /web.config

您可能感兴趣的文章:

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息