Answer the question
In order to leave comments, you need to log in
How to change the root directory?
Good afternoon, there is an Apache server. Public_html contains the site_one folder, it contains pages, css files, etc. If I specify a path like "/css/file.png" on one of these pages, it will be read as "public_html/css/file.png". There is also an htpaccess file in the site_one directory. What needs to be written in it so that the files in the site_one folder are considered its root directory?
Answer the question
In order to leave comments, you need to log in
this should not be specified in htaccess, but in the apache settings,
look on the Internet for information on setting up a host in apache
after the settings have been made, you must restart the server
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question