Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. 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.

  2. 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.

:::bash
docker pull httpd

Start a docker container.

:::bash
docker run --hostname httpd -dit -p 80:80 -v $(pwd):/usr/local/apache2/htdocs/ httpd