Answer the question
In order to leave comments, you need to log in
How to make a file repository with HTTP access?
There is a task: to make an information portal / file repository, i.e. some website with a pleasant design for the average user, no articles, only links to files.
There is such an idea: let's say there is a directory /var/www/html/files, inside the directory the following structure
is ./files/file1.txt
./files/folder1/file1.txt
./files/folder2/file2.1.txt
./ files/folder2/file2.2.txt
We need to display the structured contents of the /var/www/html/files/ directory dynamically on the web page. That is, so that when adding and deleting files, the web page changes.
Something similar is implemented in Linux repositories (eg ru.archive.ubuntu.com/ubuntu/)
Is there a ready-made solution (template) for such a task?
Answer the question
In order to leave comments, you need to log in
If you want to beautifully design the output, use php to generate an html page with links to files.
...probably I will advise such garbage now... but I did the same with this script: Manlix Dirs Viewer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question