FCKeditor 设置问题

来源:百度知道 编辑:UC知道 时间:2024/05/22 03:56:16
例如我的网址是:http://www.xxx.com
我想上传后的图片不是/userfile/image/aa.gif这样的路径。而是希望它的路径直接是http://www.xxx.com/userfile/image/aa.gif
因为我想其他网站调用我数据库时,图片路径不用出错。请问FCKeditor应该改哪些地方。
我改过E:\cas05this\FCKeditor\editor\filemanager\upload\asp\config.asp
E:\cas05this\FCKeditor\editor\filemanager\browser\default\connectors\asp\config.asp
这两个文件的ConfigUserFilesPath = "/UserFiles/"
改为ConfigUserFilesPath = "http://www.xxx.com/UserFiles/"
但是这样就出错了。

参考资料:http://hi.baidu.com/sjh9/blog/item/c5fc5a636f9767610d33face.html

三.设置上传的目录:
1:在web.config中设置:
<appSettings>
<add key="FCKeditor:UserFilesPath" value="/fck/UpLoad/" />
</appSettings>

你把你的域加上去就可以了,注意,如果你的端口非80,还需要把端口也加上