Fixing Invalid command ‘RewriteEngine’

October 21, 2011 | Error

Apache Server

[Mon Oct 10 21:57:06 2011] [alert] [client] C:/wamp/www/web-app/.htaccess: Invalid command ‘RewriteEngine’, perhaps misspelled or defined by a module not included in the server configuration

This happens only when rewrite module on your Apache server is off. Do the following steps in order to resolve the problem:

  1. Go to this folder C:\wamp\bin\apache\Apache2.2.17\conf or corresponding ‘conf‘ folder in your apache installation

  2. Open ‘httpd.conf’ file

  3. Uncomment the fllowing line by removing # at the beginning:
    LoadModule rewrite_module modules/

Tags: , ,

Comments (2)

  1. The title of your blog: (Poisure | Weightful Info » Fixing Invalid command ‘RewriteEngine’) seemed intresting so thats how I ended up here!

  2. Cialis says:

    Hello mate! I totally agree with your beliefs. I really appreciate what you’re providing here.

Leave a Reply

If you have a Tip, Comment, Article or anything you want to share, please send it to: