I\'ve got fresh install of Apache 2.2 on my Vista machine, everything works fine, except mod rewrite.
I\'ve uncommented
LoadModule rewrite_module mo
What worked for me (in ubuntu):
sudo su cd /etc/apache2/mods-enabled ln ../mods-available/rewrite.load rewrite.load
Also, as already mentioned, make sure AllowOverride all is set in the relevant section of /etc/apache2/sites-available/default
AllowOverride all
/etc/apache2/sites-available/default