重写错误APACHE(WIN)


REWRITE ERROR APACHE (WIN)

我最近不得不在我的开发计算机中重新安装我的操作系统,在重新安装WAMP和数据库等之后,我现在收到了500个错误。

日志:

[Wed Aug 14 02:40:02.317999 2013] [core:alert] [pid 3864:tid 856] [client ::1:58187] C:/wamp/www/MonsterFleaMarket/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/

我的HTACCESS:

ErrorDocument 404 /404.php
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+?)$ /MonsterFleaMarket/user_home.php?domain=$1 [L,QSA]

请帮忙!在重新安装之前,它运行良好。我能做什么?

httpd.conf 中启用mod_rewrite指令

它通常只是在新安装时被评论掉。