I\'ve got a shared hosting account associated with a domain name and the root folder (correct me if that\'s the wrong term) is set to / so that all files on the
/
This is how i always use it in my framework:
Rewritecond %{REQUEST_FILENAME} !-f RewriteRule (.*) /example.com/public/$1 [L,NC] RewriteCond %{REQUEST_URI} ^/$ RewriteRule !^example.com/public/(.*) /example.com/public/$1 [L,NC]