# Redirect all traffic to /public for cPanel setups where the
# domain document root is the project root (not /public)
# Only needed if you cannot change document root in cPanel.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/public/
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ /public/$1 [L,QSA]
</IfModule>
