I have LAMP server running on Ubuntu 14.04, and everything seems to be configured fine. The Only problem that am having is that, the rewrite rule is somehow getting ignored without issuing any error. The page reloads again as usual after modifying the .htaccess file. What I am trying to do, is to route all traffic to index.php using the following code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
Other rules are functioning properly, eg. if I add deny from all and reload the page,I immediately get en error. All files and folders are located in the /var/www/ root directory. I don't know what am missing here, I spent hours debugging this issue without a solution :(.