Here is a short excerpt from my caddyfile :
... # Prevent any browsing against static html page (ex. : no browsing !) browse / /absolute_path_to/no_navigation.html # 'Browsing' authorized in several pathes ... with home made templates browse /path/to/explore/ /absolute/path/navigation_template.tpl browse /path/to/explore/2/ /absolute/path/navigation_template2.tpl ...
I did a lot of tests to find that we could … :
- … multiply the ‘browse’ commands,
- … block any navigation by responding with a static html page,
- … then choose the directories where navigation is allowed
- … use different display models of the tree.
But I have some doubts: can you confirm that all this is really possible.
In which case, I think that all this could be added in the “Caddy Guide” !
Many thanks for your splendid work !