---
title: "CakePHP运行报错The requested URL XX was not found on this server."
author: "dujunxiaochuan"
date: "2013-02-19T11:28:00Z"
tags: ["CakePHP", "PHP", "框架"]
categories: ["Web前端"]
slug: "cakephp-the-requested-url-xx-was-not-found-on-this-server"
draft: false
lastmod: "2013-02-27T16:11:49Z"
id: 1816657
url: "https://dujunxiaochuan.iteye.com/blog/1816657"
---

新配置了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。修改后，运行，成功。