N
N
nezzard2016-03-20 11:59:09
Laravel
nezzard, 2016-03-20 11:59:09

How to get rid of error after installing laravel?

Good afternoon, install laravel on centos, when I go to the site, it gives an error
403
Forbidden
Unfortunately, you do not have permission to view this
I tried all the options, oh yes, if I go to /laravel/public/ then the error is 500

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Ukolov, 2016-03-20
@alexey-m-ukolov

How to get rid of error after installing laravel?

1. Correctly configure the web server.
2. Read logs.

S
Stanislav Pochepko, 2016-03-20
@DJZT

Try setting write permissions to the directory storage. And refer to public. Or set up htaccess

D
Dmitry Kuznetsov, 2016-03-20
@dima9595

There was a similar (or the same) bug on Ubuntu. Corrected by the team

sudo a2enmod rewrite
and rebooted the server.
PS: there was such a thing on Apache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question