欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

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