Hi,
I have a website that uses friendly urls by use of the standard mod_rewrite rule which is detailed below. It works fine on the remote virtual server but for some reason I cant get it working properly on my LAMP Ubuntu local server.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^page/([\w]+) /index.php?p=$1 [L]
So you know by now im running Ubuntu Linux, I installed Apache2, PHP5, MySQL and PHPMyAdmin plus related packages it auto selects when using the synaptic package manager. I have a virtual host setup too http://127.0.1.2/ and my root document folder is pointing to the correct place. I enabled the mod_rewrite module in apache...
My folders are /var/www/mainfolder/files
So my question is what have I done wrong?