I have encountered a problem, while implementing MVC design patterns for my website. I have a folder named "svce" inside the folder /www (which is my DOCUMENT_ROOT). I created a .htaccess file and wrote the following codes inside it:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$index.php?url=$1 [QSA,L]
Then I edited the httpd.conf file and uncommented the LoadModule rewrite_module modules/mod_rewrite.so.
Even after doing this, RewriteEngine is not working. When I try to access application using http://localhost/svce/blahblah.php, it gives me a default 404 error page.
IT should have shown me only the index page inside the /svce directory.