Installing LAMP on Ubuntu 9.40 - enable REWRITE module

I've just reinstalled the nuew Ubuntu 9.04 on my notebook (a fresh installation) and suddenly I realized I needed to install all the services to get Drupal running, just needed this:

$ sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server

Done!

BUT, if you're attempting to use Drupal and use the Clean URL module, you should enable the "Rewrite" Apache module, by using the following command:

$sudo a2enmod

then, just type: rewrite

then restart the Apache service by typing:
$ sudo /etc/init.d/apache2 restart

and now we're done!!

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.