Routing 使用Ubuntu的路由问题

Routing 使用Ubuntu的路由问题,routing,zend-framework2,Routing,Zend Framework2,在Ubuntu和VirtualBox中使用典型的ZF2框架应用程序 mysite/public/中的主页运行良好。 但是当我编写示例mysite/public/application时,返回notfound 不是ZF2 404页面,而是默认的apache未找到页面。 The requested URL /projects/mysite/public/application was not found on this server. Apache/2.2.22 (Ubuntu) Server at

在Ubuntu和VirtualBox中使用典型的ZF2框架应用程序

mysite/public/
中的主页运行良好。 但是当我编写示例
mysite/public/application
时,返回notfound

不是ZF2 404页面,而是默认的apache未找到页面。

The requested URL /projects/mysite/public/application was not found on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
它出于某种原因退出ZF2


我没有设置虚拟服务器

您只是回答了自己的问题:

我没有设置虚拟服务器


在使用“书呆子跛脚”下一票之前,如果这个问题离题,你应该告诉我在哪里提问。