How to Rewrite URLs with mod_rewrite for Apache on Ubuntu 20.04
With mod_rewrite, you can rewrite an unlimited number of rules. This will allow you to rewrite the URL based on environment variables, HTTP headers, and server variables.
Source: Linuxtoday.com