How to configure Apache mod_proxy to select a URL from a table? E.g. via a script?

in flag

We've got Apache mod_proxy performing the function of a reverse proxy to a specific host:ip currently.

We would like to be able to take a url like https://domain/pathA and https://domain/pathB and look up the appropriate host:port in a table or via an HTTP rest service call. Each pathX will have a different place the proxy should get the information from.

We would like to avoid hard coding this information into the Apache config because it will change often.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.