按照手册里操作,
IndexController.php文件里
<?php
class IndexController extends Zend_Controller_Action
{
function indexAction()
{
$this->view->title="this is Utopia";
$this->view->content="tell me why!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
$this->render();
}
function editAction()
{
$this->view->title="this is Utopia";
$this->view->content="tell me why!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!";
}
}
Phtml文件放在
views>>scripts>>index下有两个文件
index.phtml
<html>
<head>
<meta http-equiv="Content-Language" content="en" />
<meta name="GENERATOR" content="

HPEclipse 1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title><?php echo $this->escape($this->title);?></title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#FF9966" vlink="#FF9966" alink="#FFCC99">
<?php echo $this->escape($this->title);
echo $this->escape($this->content);
?>
</body>
</html>
edit.phtml
相同的HTML代码
为什么我按手册的地址
http://127.0.0.1/zendframework/public/
能访问 indexAction()的内容
而
http://127.0.0.1/zendframework/public/index/edit
却出现
Not Found
The requested URL /zendframework/public/index/edit was not found on this server.
哪位高手可以解释下,

谢谢