duanlijia5864 2013-08-14 06:56
浏览 10
已采纳

REWRITE ERROR APACHE(WIN)

I recently had to have my OS reinstalled in my development computer and after reinstalling WAMP and my databases, etc I am now getting a 500 error.

THE LOGS:

[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/

My 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]

Please Help! This was working fine before the reinstall. What can I do?

  • 写回答

1条回答 默认 最新

  • douyue9704 2013-08-14 06:57
    关注

    Enable the mod_rewrite directive in your httpd.conf

    It's usually just commented out on a fresh install.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥30 自适应 LMS 算法实现 FIR 最佳维纳滤波器matlab方案
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥15 Python3.5 相关代码写作
  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动