vendredi 17 avril 2020

Base url not setting up in laravel

Im using laravel 5 for one of my project.

http://localhost/pro/Core/laravel/ is my project URL I have updated URL in .env and app.php file

'url' => env('APP_URL', 'http://localhost/pro/Core/laravel/'),

also in .env file

# General Configuration
APP_ENV=local
APP_KEY=base64:A0Cv+VgIYL5PD1hBkzDL7W++jCn1POKQu6E6GBLPOGo=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost/pro/Core/laravel/

and htaccess is

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews -Indexes
    </IfModule>

    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]
</IfModule>

Still css and links are not forming on my project



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire