search

Home  >  Q&A  >  body text

symfony propel 1.4

I encountered a situation. For example, I now have a frontend app. The entry file is index.php. Because it is the first app, I did not need to add index.php when writing a hyperlink tag. The default Will go to this index.php. But I don’t know what’s going on now. Now I have to add index.php to access it normally. If I don’t add it, a 404 error will appear.

曾经蜡笔没有小新曾经蜡笔没有小新2813 days ago386

reply all(1)I'll reply

  • 某草草

    某草草2017-05-16 16:48:21

    Have you modified the web server configuration file recently?

    If you must add index.php to access, it is very likely that the rewrite function of the web server is not enabled

    Google your web server name (apache, nginx, iis ..) + url rewrite 或者url重写, check your configuration

    reply
    0
  • Cancelreply