Answer the question
In order to leave comments, you need to log in
How to change the root directory of an Apache site?
The essence of the question is this: I have a website and I need the index page to be displayed when visiting site.com/ru .
That is, change the root directory so that site.com/ = site.com/ru . And it is desirable to disable site.com/ altogether .
How can this be done in Apache?
Answer the question
In order to leave comments, you need to log in
is configured via mod_rewrite, and you do not need to change the folder, you need to correctly configure the server and the web application itself.
And it is desirable to disable site.com/ altogether
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question