DirectoryIndex public/index.php

<IfModule mod_rewrite.c>
    RewriteEngine On

    # Arahkan request ke folder public agar Laravel bisa berjalan dari root hosting.
    RewriteCond %{REQUEST_URI} !^/public/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
