jeudi 23 janvier 2020

Im trying to deploy my Laravel 6 project on ubuntu server

I'm trying to deploy my laravel project to ubuntu server, My welcome page works but when I'm trying to login it says url not found, my htaccess is looks like this Options -MultiViews -Indexes

RewriteEngine On

# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^(.*)/$ /$1 [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php[L]

I don't know were is the problem, i have rewrite_mod enabled

and also my conf in apache looks like this enter image description here

but funny thing with index.php and route it works but without CSS

Aucun commentaire:

Enregistrer un commentaire