CakePHP运行报错The requested URL XX was not found on this server.

新配置了php开发环境,Apache+php+mysql,各种配置完成后,运行使用cakephp框架的项目居然无法访问,报错The requested URL /wifiserver/Movies/index was not found on this server.经检查后发现是Apache配置有误,忘记打开LoadModule rewrite_module modules/mod_rewrite.so,和忘记修改访问权限了AllowOverride all。修改后,运行,成功。

你可能感兴趣的:(框架,PHP,cakephp)