Files
RCS-knowledge-base/web/20240410.publish-dir-web.md

25 lines
646 B
Markdown

Publishing a Directory on the Web
=================================
The Question
------------
[2024-04-10]
Suppose you want to publish a directory tree on the web, so that
it may look and function like, e.g. HTML-front-ended FTP site,
such as <https://archive.debian.org/>.
How to do this?
Some use cases:
* Jekyll-based Gitlab pages prevent such a directory listing,
although local Jekyll server doesn't prohibit such.
Perhaps for security reason to prevent automated crawling
and harvesting.
"Creating an HTML Index Using Python"
https://joshbrunty.github.io/2021/10/29/indexer.html
Git repo: https://github.com/joshbrunty/Indexer