【发布时间】:2012-05-25 23:22:34
【问题描述】:
我在 Symfony 1.4 中创建项目并通过 FTP 上传。 如果我打开http://mysite.com/frontend_dev.php/login 或http://mysite.com/frontend_dev.php/manage 然后一切正常,但如果我打开http://mysite.com/login 或http://mysite.com/manage 然后我有错误:
Not Found
The requested URL /login was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
为什么?我必须在 Symfony 或 Apache 中改变什么?
【问题讨论】:
-
您是否按照this tutorial的每一步操作?
-
确保你启用了 mod_rewrite 并且你上传了 .htaccess 文件到 symfony 的 web 目录中。
标签: php apache symfony1 symfony-1.4