To setup the Apache ReWrite Module on Ubuntu 6.06 Dapper Drake (virtual host setup) all you need to do is create a symbolic link for the rewrite.load in /etc/apache2/mods-enabled/
sudo ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/
Restart Apache webserver
sudo /etc/init.d/apache2 restart
Now in your .htaccess do
RewriteEngine On
RewriteRule.....
Thats all. It should work.
If its still not working for you then open /etc/apache2/sites-enabled/your-virtualhost-conf-file
and add in between your <Directory> tag
AllowOverride All
Restart Apache and thats it, your all done.
Tags: 6.06, apache, dapper drake, host, rewrite, setup, ubuntu, virtual, virtualhost