我在 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 中改变什么?