Asp.Net FckEditor在web.config中配置的具体实例
时间:2021-09-04 09:49:41|栏目:.NET代码|点击: 次
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
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
上一篇:C#深浅拷贝的深入解析
栏 目:.NET代码
下一篇:C# 设计模式系列教程-原型模式
本文标题:Asp.Net FckEditor在web.config中配置的具体实例
本文地址:http://www.codeinn.net/misctech/172537.html






