A
A
andre77772016-10-04 10:12:16
htaccess
andre7777, 2016-10-04 10:12:16

How to host laravel website?

Site on laravel 5.2
Hosted by Beget.
There is a mySite folder, in it there is a public_html public folder
. Laravel has a public folder.
Do I understand correctly that the laravela folder needs to be transferred to mySite, and in the public_html folder create an .htaccess file with redirection of all requests to public?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Arthur, 2016-10-05
@andre7777

Do I understand correctly that the laravela folder needs to be moved to mySite, and in the public_html folder, create an .htaccess file with redirection of all requests to public?

laravel to public_html folder, htaccess in public_html
searches in public_html and finds htaccess, which sends to public
in the same way, try to find in the settings of the runet account itself the direction of the domain to public

T
Tesla, 2016-10-04
@Tesla

rm -rf public_html
ln -s public public_html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question