D
D
Denis Denis2015-07-02 09:46:58
Laravel
Denis Denis, 2015-07-02 09:46:58

Why in Laravel is the index file in the public folder and not in the root? How to properly redirect apache?

It is written that for the convenience of setting up on different servers?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2015-07-02
@golovewkin

To prevent the web server from accessing your sources.
DOCUMENT_ROOT should point to /www/site.ru/public

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question