lundi 28 décembre 2015

How to upload laravel 5 project in Linux hosting server?

I'm 1st time trying to upload laravel 5 project to the live server.I'm taken Linux hosting. When i hit the url its show many error

Error- 404 Page Not Found and Forbidden You don't have permission to access / on this server.

but when i check my Error log file

[Mon Dec 28 12:10:57 2015] [error] [client 60.243.107.196] Directory index forbidden by Options directive: /home/riseyourmoney/public_html/vdl/

than i changed my .htaccess file

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

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]


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

There is any routing problem ?Please help..



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire