Answer the question
In order to leave comments, you need to log in
How to change file directory location in Apache?
Good day to all.
There is a site located here /var/www/httpd/site
Inside the site directory there is a soft folder. If you enter site.ru/soft in the browser, then we naturally display the directory of files that are in the soft folder.
I want this soft folder to be physically located here /mnt/soft and of course be available at the above address.
If in Wirth. hosts, for example:
Alias /soft /mnt/soft
<Location /mnt/soft>
Options Indexes
</Location>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question