search

Home  >  Q&A  >  body text

Problem with entry file hiding

If you encounter the problem that the entry file of the server's rewriting mechanism cannot hide the error report, just modify this line of code under .htaccess in the Public directory. The correct format of the code is as follows:

RewriteRule ^(.*) $ index.php [L,E=PATH_INFO:$1]

我又不乱来我又不乱来2768 days ago1436

reply all(2)I'll reply

  • 商江网络

    商江网络2017-09-22 21:14:44

    Very good, I will let you know after learning and trying it


    reply
    0
  • ringa_lee

    ringa_lee2017-06-06 18:12:02

    Not bad, upvote it, but set APP_DEBUG to false at the entrance, it should be able to be blocked

    reply
    0
  • Cancelreply