Invalid command ‘RewriteEngine’, perhaps mis-spelled or defined by a module not included in the server configuration的解决办法

apache error log上显示:

Invalid command ‘RewriteEngine’, perhaps mis-spelled or defined by a module not included in the server configuration

解决办法:

打开httpd.conf ,取消 LoadModule rewrite_module modules/mod_rewrite.so前的注释

这种错误容易导致网页显示500 internal server erro错误。

打赏 赞(0)
微信
支付宝
微信二维码图片

微信扫描二维码打赏

支付宝二维码图片

支付宝扫描二维码打赏

发表评论

电子邮件地址不会被公开。 必填项已用*标注