Dynamic Apache configuration using text files

Posted on January 29, 2014 by Stefan Bleibinhaus

This post shows, how a text file can be used to configure the Apache http server dynamically and change its behavior during runtime using text files. To illustrate the behavior with an example, I have written a simple server application in Haskell , which chooses a random port during startup on which it is listening too. It writes this port to a text file, which will be used by the Apache server to forward requests from port 80 to the random port.

Read more

Admin login