Rich text editor-questions about how to read php files in the web/bundles path in symfony

Source: Internet
Author: User
My problem is this: I developed a rich text editor UEditor locally. for convenience, I put the php file under js according to the original configuration, the entire path is like this: localhow.skwebbund ..., this is the path for local development. Here, we want to use... my problem is this: I developed a rich text editor UEditor locally. for convenience, I put the php file under js according to the original configuration, the entire path is like this: http: // localhost/msk/web/bund ..., this is the path for local development. Here, the "msk" is a project folder under the root directory. There is no problem at this time. Rich text uploads everything. But when I upload files to the server online, the path I get is like this: http: // host ip/bundles/msk/public/js/php/controller. php? Action = config & noCache = 1471224486130, but a 404 error occurs. Is the developer mode of symfony different from that of normal mode? Is it necessary to read the route registration method? Another is to test the path, right? I put an image on it, but it can also be read. isn't it just that I can't read the php file? Do not give me any further advice.

Reply content:

My problem is this: I developed a rich text editor UEditor locally. for convenience, I put the php file under js according to the original configuration, the entire path is like this: http: // localhost/msk/web/bund ..., this is the path for local development. Here, the "msk" is a project folder under the root directory. There is no problem at this time. Rich text uploads everything. But when I upload files to the server online, the path I get is like this: http: // host ip/bundles/msk/public/js/php/controller. php? Action = config & noCache = 1471224486130, but a 404 error occurs. Is the developer mode of symfony different from that of normal mode? Is it necessary to read the route registration method? Another is to test the path, right? I put an image on it, but it can also be read. isn't it just that I can't read the php file? Do not give me any further advice.

Subject: what is used by your server?nginxOrapachePut all.phpForward the end to the entry fileapp.php,

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.