I've seen in some web hostings that they have public_html folder for public use. They do not use .htaccess file, and when I go to www.mydomain.com - public_html loads.
On my WAMP, I have some of folders pointing to some of my projects. I would like that I could enter localhost/myproject1 and to go to www/myproject1/public_html. Also it would be nice if my .htaccess from that web hosting works on my localhost.
My .htaccess diverts all traffics to only index.php in my custom MVC project.
#
Options +FollowSymLinks
#
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
In www/myproject1/ I have few more folders with Models, Viewers and Controllers of MVC project and I want them to be hidden.
Hope someone will help. Thanks.