1. 重写配置
httpd.conf配置修改
LoadModule rewrite_module modules/mod_rewrite.so
<Directory "D:\PHPProject\MVCA\public">
AllowOverride All
</Directory>
2.application.config.php中添加模块,如 'Album',紧跟Application后面