Asp.Net FckEditor在web.config中配置的具体实例
程序员文章站
2024-03-02 14:01:52
1、开发网站过程中fck配置:12
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
推荐阅读
-
Asp.Net FckEditor在web.config中配置的具体实例
-
在ASP.NET中实现弹出日历的具体方法
-
ASP.NET web.config中数据库连接字符串connectionStrings节的配置方法
-
解决在Web.config或App.config中添加自定义配置的方法详解
-
asp.net代码中修改web.config节点的具体方法
-
Asp.Net FckEditor在web.config中配置的具体实例
-
ASP.NET中在不同的子域*享Session的具体方法
-
在ASP.NET中实现弹出日历的具体方法
-
ASP.NET中的DataGridView绑定数据和选中行删除功能具体实例
-
ASP.NET中在不同的子域*享Session的具体方法