Last active
November 4, 2018 10:09
-
-
Save pringgojs/6d180ee64cb4a452bebeae434177cd2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# MEMPERBAIKI ERRO TOKEN MISMATCH KETIKA LOGIN | |
chmod 777 ./storage/framework/sessions | |
# ROUTING PUBLIC DIREKTORY LARAVEL TIDAK BISA DIRUBAH | |
# REDIRECT OTOMATIS KE FOLDER PUBLIC | |
BUAT FILE .htaccess di root folder | |
---------------------------------- | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^(.*)$ http://localhost/client/pjb-2/public/$1 [L] | |
</IfModule> | |
---------------------------------- | |
# UPDATE PERMISSION STORAGE BY ROOT | |
chmod -Rf 0777 storage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment