Enabling rewrite in Ubuntu Apache2

The other day I was pulling my hair trying to enable rewrite in Ubuntus Apache2. Everything was installed via apt-get and I guess you get a bit spoiled when so much just works without the need to touch it ;) So when my .htaccess with rewrite had no effect I though I had syntax errors. Turns out it was this simple (in your terminal):

sudo a2enmod rewrite
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Live
  • Technorati
  • Twitter

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">