Rich Text Editor-about symfony read web/bundles path PHP file under the problem

Source: Internet
Author: User
My problem is this: I developed in the local, get a rich text editor Ueditor, for convenience, I follow the original configuration, the PHP file is placed under JS, the whole path is like this: Http://localhost/msk/web/bund ..., This is the local development path. Where MSK this is a project folder under the root directory. There is no problem at this time. Rich text All things can be uploaded. But when I upload to the server line, I get the path is like this:/HTTP host Ip/bundles/msk/public/js/php/controller.php?action=config&&nocache =1471224486130, but this time it produced 404 errors. Excuse me, is symfony developer mode different from normal mode? Are you sure you want to read the route registration method? And just to test the path right, I put a picture up, but also can read out, is not just can't read PHP file? I forgot to enlighten you.

Reply content:

My problem is this: I developed in the local, get a rich text editor Ueditor, for convenience, I follow the original configuration, the PHP file is placed under JS, the whole path is like this: Http://localhost/msk/web/bund ..., This is the local development path. Where MSK this is a project folder under the root directory. There is no problem at this time. Rich text All things can be uploaded. But when I upload to the server line, I get the path is like this:/HTTP host Ip/bundles/msk/public/js/php/controller.php?action=config&&nocache =1471224486130, but this time it produced 404 errors. Excuse me, is symfony developer mode different from normal mode? Are you sure you want to read the route registration method? And just to test the path right, I put a picture up, but also can read out, is not just can't read PHP file? I forgot to enlighten you.

What your server is using, it is possible nginx or to apache forward all the .php end of the post to the portal file app.php ,

  • 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.