MVC内部服务器错误

时间:2013-05-22 10:05:26

标签: php .htaccess mod-rewrite url-routing

我正在尝试构建一个PHP MVC。

我目前正在观看本教程link

但从一开始就没有用。我在WAMP中运行它

它给了我这个错误:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

这是我的文件夹结构: enter image description here

HTaccess文件:

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ /mvc/index.php=$1 [QSA,L]

我做错了什么?

0 个答案:

没有答案