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

时间:2022-08-24 18:08:10

1、开发网站过程中fck配置:

   <appSettings>
    <add key="FCKeditor:BasePath" value="~/fckeditor/"/>
    <add key="FCKeditor:UserFilesPath" value="/[网站名,如:OsChina]/Files/"/>
    </appSettings>
2、发布网站时修改fck配置:

<appSettings>
 www.zzvips.com
 <add key="FCKeditor:BasePath" value="~/fckeditor/"/>
    <add key="FCKeditor:UserFilesPath" value="/Files/" />
</appSettings>
3、当网站发布到IIs中后,需要将上传的图片重新传一遍,否则网页上看不到图片
     网站结构为:网站名/其它文件及文件夹
                                    /Files
                                    /Default.aspx 
                                    /web.config