使用Ubuntu的路由问题

时间:2014-03-09 13:09:09

标签: routing zend-framework2

在Ubuntu中使用典型的ZF2 Skeleton应用程序和VirtualBox。

mysite/public/中的主页效果很好。 我写的时候BUt mysite/public/application返回Not found。

不是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。

我没有设置虚拟服务器

1 个答案:

答案 0 :(得分:1)

你刚回答了自己的问题:

  

我没有设置虚拟服务器

http://framework.zend.com/manual/2.0/en/user-guide/skeleton-application.html