• Happy Coding

Invalid command ‘RewriteEngine’

After i made a new Apache installation on Ubuntu in whose httpd.conf file i use the

RewriteEngine on

command, i got the following error, when starting Apache:

Invalid command ‘RewriteEngine’

To fix this problem, i executed

sudo a2enmod rewrite

to enable the Rewrite module.

  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Ma.gnolia
  • MisterWong
  • Reddit
  • SphereIt
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yigg
  • LinkedIn
  • Print this article!
  • Tumblr
  • Pownce
  • #1
    Posted by Designer on November 28th, 2010 at 4:46 pm

    hi,
    you can try this:

    Options Indexes FollowSymLinks

    in yours httpd.conf file.

Share your opinion! Post your thoughts.