# UEditor ASP 支持说明
应广大用户要求,UEditor 团队在原本支持的 PHP、Java 和 .Net 的后台的基础上,推出了 ASP 后台的支持。
## 支持版本 ##
支持 UEditor 1.2.6+ 的版本
## 支持功能 ##
支持所有其他后台已支持的功能,包括:
1. 图片上传
2. 远程图片转存
3. 图片管理
4. 涂鸦上传(包括背景)
5. Word 图片转存
6. 截图上传
7. 文件上传
## 部署指南 ##
Classic ASP 一般在 IIS 上运行。其它 ASP 服务器不介绍部署方式,请自行研究。
### 配置 ###
对于 v1.4.0 之前的版本,需要修改 `ueditor.config.js`。最简单的方法,就是把文件中的 php 都替换成 asp。要修改的配置包括:
```javascript
{
imageUrl:URL+"asp/imageUp.asp"
,imagePath:URL + "asp/"
,scrawlUrl:URL+"asp/scrawlUp.asp"
,scrawlPath:URL+"asp/"
,fileUrl:URL+"asp/fileUp.asp"
,filePath:URL + "asp/"
,catcherUrl:URL +"asp/getRemoteImage.asp"
,catcherPath:URL + "asp/"
,imageManagerUrl:URL + "asp/imageManager.asp"
,imageManagerPath:URL + "asp/"
,snapscreenServerUrl: URL +"asp/imageUp.asp"
,snapscreenPath: URL + "asp/"
,wordImageUrl:URL + "asp/imageUp.asp"
,wordImagePath:URL + "asp/"
,getMovieUrl:URL+"asp/getMovie.asp"
}
```
UEditor v1.4.0 后进行了后端的统一配置,后端相关的配置文件是 `config.json`,在具体的后台目录下。需要注意以下两个类型的配置:
```javascript
{
"{tpl}UrlPrefix": "/ueditor/asp/",
"{tpl}PathFormat": "upload/{tpl}/{yyyy}{mm}{dd}/{time}{rand:6}"
}
```
`{tpl}PathFormat` 是资源(图片、涂鸦、文件等)保存的位置以及文件名格式,这个路径在 ASP 中是相对运行目录的。
`{tpl}UrlPrefix` 是资源定位的基本路径,在 ASP 后台中一般设置成 ASP 的目录。
比如,IIS 中运行的 UEditor ASP 的目录为 C:\iis_pub\wwwroot\mysite\ueditor\asp,而网站的访问地址为 http://localhost/mysite/,那么你可以这样修改这两类配置项:
```javascript
{
"{tpl}UrlPrefix": "/mysite/ueditor/asp/",
"{tpl}PathFormat": "upload/{tpl}/{yyyy}{mm}{dd}/{time}{rand:6}"
}
```
### 在 IIS 6.X 中部署
IIS 的安装在这里不介绍,请自行查阅相关资料。
1. 启用 ASP 拓展
* 打开 IIS 管理器
* 展开本地计算机
* 选中 Web 服务拓展
* 允许 Active Server Pages 拓展
2. 配置网站脚本执行权限(如果使用虚拟路径,请跳过本步骤)
* 在网站上右击,点属性
* 切换到主目录选项卡,勾选*读取*、*写入*两个权限,并且*执行权限*选择*纯脚本*
* 点确定
3. 使用虚拟路径
* 在网站上右击,点*新建* - *虚拟路径*
* 按照向导填写名称和路径
* 勾选*读取*、*执行脚本*和*写入*三个权限
* 完成虚拟目录的创建
4. 配置脚本执行身份
* 在网站或虚拟路径上右击,点属性
* 选择*目录安全性*选项卡
* 在*身份验证和访问控制*中点击*编辑*
* 勾选*启用匿名访问*,点击用户名后面的*浏览*
* 输入*administrator*点确定
* 输入*administrator*账号的密码
* 点击确定,再确认一次密码
5. 设置最大 HTTP 请求大小限制
* 找到位于 C:\Windows\System32\Inetsrv 中的 metabase.XML,打开,查找ASPMaxRequestEntityAllowed,修改为需要的值(如10240000 即 10M)
> ASP 文件中也有上传文件大小的限制,不过先验证的限制是 IIS 中设置的,所以如果 IIS 中设置最大 256K,那么就算 ASP 中设置了最大 10M,那么超过 256K 的文件也无法上传,而且 ASP 没法给出错误信息。
### 在 IIS 7.X 中部署
IIS7 默认不安装 ASP,需要手动添加进去。添加方法请读者自行查阅。
1. 配置脚本执行身份
* 选中网站或者应用程序
* 双击 IIS 中的*身份验证*
* 双击匿名身份验证
* 填写*administrator*的用户名和密码,确定
2. 设置最大 HTTP 请求大小限制
* 打开 IIS 控制台
* 双击 ASP,展开*限制属性*,修改*醉倒请求实体主体限制*为需要的值(如10240000 即 10M)
> ASP 文件中也有上传文件大小的限制,不过先验证的限制是 IIS 中设置的,所以如果 IIS 中设置最大 256K,那么就算 ASP 中设置了最大 10M,那么超过 256K 的文件也无法上传,而且 ASP 没法给出错误信息。
没有合适的资源?快使用搜索试试~ 我知道了~
基于ASP的冠龙科技ASP企业网站管理系统2022 v3.0.zip
共1490个文件
png:391个
gif:382个
asp:242个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 158 浏览量
2023-07-13
07:58:07
上传
评论
收藏 13.32MB ZIP 举报
温馨提示
基于ASP的冠龙科技ASP企业网站管理系统2022 v3.0.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于ASP的冠龙科技ASP企业网站管理系统2022 v3.0.zip (1490个子文件)
#glgkcom.asp 1.39MB
GuanlongCms_MainClass.asp 125KB
GuanlongCms_CommonFun.asp 64KB
GuanlongCms_ContentFun.asp 35KB
GuanlongCms_templateFun.asp 34KB
checkout.asp 30KB
checkout.asp 28KB
upload.asp 24KB
GuanlongCms_SortFun.asp 23KB
GuanlongCms_CollectFun.asp 23KB
GuanlongCms_MakeHtmlFun.asp 22KB
GuanlongCms_smssortFun.asp 19KB
aliyun_Funcs.asp 18KB
GuanlongCms_SortEdit.asp 17KB
GuanlongCms_SortAdd.asp 16KB
md5.asp 14KB
GuanlongCms_OrderFun.asp 14KB
GuanlongCms_Getpy.asp 13KB
GuanlongCms_UserGroupFun.asp 12KB
alipay_md5.asp 12KB
index.asp 11KB
GuanlongCms_MessageFun.asp 11KB
GuanlongCms_smsFuncs.asp 11KB
GuanlongCms_AdvFun.asp 10KB
GuanlongCms_CustomFun.asp 10KB
GuanlongCms_UpdateFun.asp 10KB
GuanlongCms_AdminGroupFun.asp 9KB
ASPJson.class.asp 9KB
GuanlongCms_Collectlist.asp 9KB
right_user.asp 9KB
GuanlongCms_ContentAdd.asp 9KB
GuanlongCms_smsReg.asp 9KB
GuanlongCms_SpecFun.asp 8KB
index.asp 8KB
Uploader.Class.asp 8KB
GuanlongCms_ApplyFun.asp 8KB
GuanlongCms_MakeHtml.asp 8KB
GuanlongCms_smsSort.asp 7KB
GuanlongCms_SlideD.asp 7KB
alipay_submit.asp 7KB
GuanlongCms_OEMFun.asp 7KB
GuanlongCms_SlideB.asp 7KB
GuanlongCms_SlideC.asp 7KB
GuanlongCms_Slide.asp 7KB
aliyun_ListObject.asp 7KB
login.asp 7KB
GuanlongCms_AdvEdit.asp 7KB
index.asp 7KB
index.asp 7KB
GuanlongCms_FileMangerFun.asp 7KB
checkcode.asp 7KB
GuanlongCms_SettingFun.asp 7KB
aliyun_Backup.asp 7KB
GuanlongCms_SiteSetting.asp 7KB
GuanlongCms_LanguageFun.asp 7KB
aliyun_EditConfig.asp 6KB
GuanlongCms_FormFun.asp 6KB
GuanlongCms_AboutEdit_user.asp 6KB
GuanlongCms_ContentEdit.asp 6KB
GuanlongCms_ComplanySetting.asp 6KB
GuanlongCms_ContentList.asp 6KB
GuanlongCms_AdvAdd.asp 6KB
GuanlongCms_AdvJs.asp 6KB
GuanlongCms_TabFun.asp 6KB
GuanlongCms_smsSend.asp 6KB
GuanlongCms_linksFun.asp 6KB
alipay_core.asp 6KB
alipay_notify.asp 6KB
reg.asp 6KB
GuanlongCms_plugFun.asp 6KB
GuanlongCms_CommentFun.asp 6KB
aliyun_EditAcl.asp 6KB
GuanlongCms_OrderInfo.asp 6KB
GuanlongCms_TagFun.asp 5KB
GuanlongCms_AdvEditDL.asp 5KB
index.asp 5KB
GuanlongCms_Sort.asp 5KB
GuanlongCms_Template.asp 5KB
GuanlongCms_Config.asp 5KB
GuanlongCms_AdvEditPF.asp 5KB
GuanlongCms_StyleFun.asp 5KB
right.asp 5KB
GuanlongCms_qqkf.asp 5KB
OrderInfo.asp 5KB
index_user.asp 4KB
menu_user.asp 4KB
GuanlongCms_SpecEdit.asp 4KB
notify_url.asp 4KB
GuanlongCms_ContentList_user.asp 4KB
GuanlongCms_SpecAdd.asp 4KB
MultiformProcessor.class.asp 4KB
GuanlongCms_plug.asp 4KB
GuanlongCms_AdvEditTC.asp 4KB
GuanlongCms_OEM.asp 4KB
GuanlongCms_53kfFun.asp 4KB
GuanlongCms_UserEdit.asp 4KB
GuanlongCms_AdminGroupEdit.asp 4KB
GuanlongCms_ApplyEdit.asp 4KB
GuanlongCms_SceneFun.asp 4KB
top.asp 4KB
共 1490 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15
资源评论
快乐无限出发
- 粉丝: 1135
- 资源: 7277
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功