码迷,mamicode.com
首页 > Web开发 > 详细

PHP 500 -Invalid command RewriteEngine的解决

时间:2014-09-22 00:52:51      阅读:220      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   ar   文件   sp   art   on   log   

转自:http://blog.csdn.net/wang02011/article/details/8205903

环境:   wampserver-2.1a    

系统 :  win8

错误 :  500 -Invalid command RewriteEngine

日志 : [Tue Nov 20 22:52:24 2012] [alert] [client 127.0.0.1] D:/wamp/www/.htaccess: Invalid command ‘RewriteEngine‘, perhaps misspelled or defined by a module not included in the server configuration

解决 :    RewriteEngine命令需要rewrite mod的支持,

       打开apache的配置文件httpd.conf ,取消 LoadModule rewrite_module modules/mod_rewrite.so前的注释

PHP 500 -Invalid command RewriteEngine的解决

标签:blog   http   io   ar   文件   sp   art   on   log   

原文地址:http://www.cnblogs.com/wangkongming/p/3985107.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!