Apache is an excellent web server solution, but it is not the only option. You may want to look at IIS as an option for Windows, as it supports many Windows authentication features that Apache does not.
Another option is Python for a simple local HTTP server. It's already installed on macOS and Linux, but you can install it for Windows from Python.org.