For questions about how Ueditor implements file upload to an independent server through frontend and backend separation, please kindly advise, ueditor

Source: Internet
Author: User

For questions about how Ueditor implements file upload to an independent server through frontend and backend separation, please kindly advise, ueditor

Recently, due to the load balancing of multiple servers on the website, files uploaded by the editor need to be synchronized. However, the synchronization software is too slow and impractical. Therefore, it is expected that files uploaded by the editor can be directly uploaded to the independent file server. However, I did not expect it to happen.

1. Add the website UeditorWeb in local IIS and add 127.0.0.1 UeditorWeb.com to the hosts file.

2. config. json settings

 

3. Modify ueditor. config. js

In my opinion, this configuration is complete, and the following is the situation:
1. Graffiti can be displayed normally,
2. A single image can be uploaded successfully, but an "Upload error" is reported ",
3. Upload of multiple images, attachments, and videos fails. (The IE browser reports "http Error" and the Firefox browser reports "Upload Failed. Please try again ")

Please give me some advice !!!

The following is my personal project source code:

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.