I am trying to create a basic web site by hand with plain HTML (no frameworks) and a rich directory hierarchy. Everything seems to work with one exception. If a user enters the path to a subdirectory in the directory hierarchy, the web server does not respond with a listing of the files in that directory, but instead says 403 Forbidden, you don't have permission to access ... on this server. An example is here: https://collect-verifier.org/foo/ . There is no problem accessing specific files in that directory that are not directories, e.g.: https://collect-verifier.org/foo/A works fine.
My question is: is there a configuration option that will change this? I.e., make the web server present a list of all files in a directory, with links?