0

I have a couple of internal websites that I want to make them available to the Internet with new domain names. I'm thinking of a reverse proxy frontend and I need it to direct all requests like so:

([^\.]*)\.company\.com --> $1.internal

I know this is done using mod_rewrite and mod_proxy but I'm not sure how! The key point is that I don't want to name all the DSNs one by one as their list is dynamic and might change over time.

Mehran
  • 519
  • 1
  • 5
  • 20

1 Answers1

0

I found the answer to my own question, it's called mod_proxy_express and it's available in Apache 2.4.

Mehran
  • 519
  • 1
  • 5
  • 20