I
I
Igor Kudryash2017-03-11 20:22:12
htaccess
Igor Kudryash, 2017-03-11 20:22:12

.htaccess and laravel how to configure correctly?

In general, the problem is this.
There is a site on laravel, but it lies at the address: subdomen.domen.ru
When I go there, I get a 403 error.
How to set up the .htaccess file correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-03-12
@slo_nik

Goodnight.
403 server response indicates that you do not have enough rights to view the pages.
What kind of pages - you know better.
The first thing to do is check the file permissions, the directory is 755, if the directory should be written to - 777, files, including .htaccess - 644.
There are directories in laravel that must have access rights of 777, more details here .
If you use roles to share access, then check those too.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question