PHP 500 -Invalid command RewriteEngine的解决

逃离我推掉我的手 2022-03-31 10:13 182阅读 0赞

转自: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前的注释

发表评论

表情:
评论列表 (有 0 条评论,182人围观)

还没有评论,来说两句吧...

相关阅读