我是CakePHP的新手而不是PRO程序员,当我在我的服务器上添加我的新地图并将其写成 www.example.com/MyMap它给我一个错误,如
Missing Controller
Error: AgendaController could not be found.
Error: Create the class AgendaController below in file: app/Controller/AgendaController.php
<?php
class AgendaController extends AppController {
}
Notice: If you want to customize this error message, create app/View/Errors/missing_controller.ctp
如何让我的新自定义地图
这是我的.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>