A
A
adrash kh2019-04-04 12:32:01
Yii
adrash kh, 2019-04-04 12:32:01

When I open a yii project on the server, what should I write in documentRoot?

Good afternoon.
I want to open my project on my server. In documentRoot should I write the path /var/www/html/site/web/index.php or /var/www/html/radar/web?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Moses Fender, 2019-04-04
@mosesfender

For me, only you know where you put it. But in the DocumentRoot they write the /web directory, where index.php is

A
Alexander Lykasov, 2019-04-04
@lykasov-aleksandr

DocumentRoot points to the site 's root directory . Everything above is not available to a direct request from outside.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question