deploy laravel ke shared hosting

untuk deploy laravel ke shared hosting anda cukup upload folder laravel project anda ke shared hosting

kemudian anda dapat membuat file .htaccess di root folder laravel project anda

kemudian tambahkan kode berikut ini

 

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{REQUEST_URI} !^public

RewriteRule ^(.*)$ public/$1 [L]

</IfModule>

Leave a Comment

Your email address will not be published. Required fields are marked *