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
,