-
Apache’s mod_rewrite & mod_proxy: Use “Reverse Proxy Request Headers” for rewrite rules
Imagine the following scenario: The URL to your site is your-public-url.com (hosted in a low-priced web package that only supports reroutings to other URLs). The “internal” URL to your site is your-internal-url.com (e.g. an DynDNS-URL to your home server). The hoster of your-public-url.com uses apache’s mod_proxy that acts in a reverse proxy mode to redirect […]