My .htaccess looks like this and is placed in the folder which I've made my websites root folder.
RewriteEngine on RewriteRule ^test1.html$ test2.html
(I've also tried several other rewrite rules which have been said to work, but those didn't work for me ether)
I've checked if mod_rewrite is enabled, and it showed up under Loaded Modules using phpinfo()
I've checked both apache2.conf and httpd.conf in etc/apache2 but there was no mention of AllowOverride (I have actually no idea what AllowOverride does). It was however mentioned four places in /etc/apache2/sites-available/mysite (which I've edited to have "myusername/dev" folder as my root folder for my website), but changing them to "All" didn't do any difference.
I've read several forum threads, tutorial, etc, but nothing have worked. I'm writing this topic as my last option, if I can't get it to work with the help from you guys, I fear I have to give up using php entirely.