Enabling mod_rewrite in Apache

mod_rewrite is a very useful module for Apache. We use it for the JJTCMS and for this Wordpress Blog. However, for some reason, by default in Apache it is not enabled, but it is present.

After installing Jaunty over my Intrepid install, and then moving to Linux Mint 6, I had to re-set up my LAMP server so I could do some more developing for the JJTCMS. If I'd had known how much trouble it was going to be, I'd have stuck with Intrepid.

To enable mod_rewrite is actually really simple, just type in a terminal:

sudo a2enmod rewrite

But it isn't well documented and to be honest, not all that logical. I found that answer on the Ubuntu forums after crawling through many websites.

0