Answer the question
In order to leave comments, you need to log in
How to correctly write the code in .htaccess to perform a force action to an internal folder?
Good day. There was a need for .htaccess, which is in the root of the site city.loc to register such a command so that, when entered into the address feed, bus.city.loc jumps to bus.city.loc / bus / web / index.php. I am using yii2 advanced with cnc enabled. Thanks in advance to everyone who helped.
Answer the question
In order to leave comments, you need to log in
If you need to do this with ALL requests,
then of course it's easier to change the DocumentRoot in the Apache config
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question