A
A
Alexander Ivanov2015-04-17 13:27:46
Yii
Alexander Ivanov, 2015-04-17 13:27:46

How to set up yii2 hosting (beginner)?

Unpacked yii2 to the public_html folder on the server.
The test welcome page opens at:
kanistherapyspb.ru/web - works correctly
How to set the page address so that the application does not open from the web/ or basik/web/ path, but starts immediately from the site root, at the main address kanistherapyspb.ru
Setting up the connection :
kanistherapyspb.ru/requirements.php

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2015-04-17
@cimonlebedev

put all folders above public_html
and move the contents of the web folder to public_html

@
@idel, 2015-04-17
_

As I understand it, you have chosen virtual hosting on beget.ru. It is better to ask the technical support of your hoster.
For example, in jino.ru, for each domain, you can specify a home directory in the Domains section .
It seems to me that each hoster is configured differently.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question