Q
Q
Quintis2021-02-25 10:23:54
linux
Quintis, 2021-02-25 10:23:54

How to share a folder on localhost via XAMP server on linux fedora?

Hello, I have an index.php file in the /home folder, how can I set up Apache to distribute the folder to localhost through the XAMP server on Linux fedora?
Just changing the DocumentRoot to "/home" did not work
upd: did as shown in the example - https://wiki.archlinux.org/index.php/XAMPP , but the server does not see anything :
6037638c4e82d756709099.png
UPD 2:
Added a new root :

<Directory "/home">
    Options Indexes FollowSymLinks ExecCGI Includes
    AllowOverride All
    Require all granted
</Directory>

Added Alias ​​/kurland "/home" to <IfModule alias_module>
Changed User c daemon to the account name and everything works

603772c716831300119080.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question