I am hoping someone can help me out! I've been trying to learn the inner-workings of how MVC frameworks are created (like Wordpress, CodeIgniter, Drupal, etc.) and have been doing an excellent job. However, it all looks so ugly to me because of my prominent issue of having an index.php page be in my domain. My website set-up is as so:


What I would like it to display as is:


I have written the .htaccess file but it still seems to produce no desired results, and was hoping somebody would be able to help. I do have mod_rewrite capability, if you were wondering.

<IfModule mod_rewrite.c>
        RewriteEngine On

        RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php/$1 [L]

http://localhost/mvc_test1/index.php/home still works with this in place, but http://localhost/mvc_test1/home just redirects to http://localhost/.