Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
A directory must be executable by others in order to show up. Even if a directory show up, it does NOT mean that you can access it. It must be readable by others (at the same) so that it can be accessed using HTTP.
-
A directory/file must be readable by others on the host so that it can be accessed using HTTP, otherwise you will encounter error messages like the one below.
You don't have permission to access /wwwroot/somedir/ on this server.
Docker Image
The Docker image httpd is a good one.
Pull the image.
docker pull httpd
Start a docker container.
docker run --hostname httpd -dit -p 80:80 -v $(pwd):/usr/local/apache2/htdocs/ httpd