Archive

Archive for September, 2009

Enable mod-rewrite in Apache2.2 on Ubuntu

September 28th, 2009 ithinkiknowit No comments

Okay, alot of out of the box php software packages (Wordpress, PHPBB, etc…) ask that mod_rewrite is enabled.

If you have just installed Apache through the package manager, you can quickly add the mod-rewrite module

In the terminal type this:

sudo a2enmod rewrite

Once you have done this, you will need to edit your virtual host files: To do this you can edit the file by typing:

cd /etc/apache2/sites-enabled
 
sudo gedit 000-default

make sure that where it says: AllowOverride None

you replace with AllowOverride All

Any issues, let me know

  • Share/Bookmark
Categories: Ubuntu Tags: , ,