I
I
Ivan Antonov2019-10-26 21:11:28
Apache HTTP Server
Ivan Antonov, 2019-10-26 21:11:28

How to change the DocumentRoot for one of the folders on the site?

Preface
Created a test copy of the site, deployed it on the test. But it turned out that because of this, some paid modules flew on it. Because the domain does not match the one that was specified during the purchase.
Question
Is it possible to configure apache2 in such a way that when I click on the website.ru/test link, the DocumentRoot of the test site test.website.ru is substituted ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SagePtr, 2019-10-26
@antonowano

https://httpd.apache.org/docs/2.4/mod/mod_alias.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question