-
Debian/Ubuntu & Apache 2: Transparent reverse proxy with mod_proxy
Here is a tutorial how to use the apache module mod_proxy to set up a transparent reverse proxy that passes all requests to another web server. Under Debian or Ubuntu you have to enable the modules proxy and proxy_http: # sudo a2enmod proxy # sudo a2enmod proxy_http A use case for a transparent proxy is […]
-
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 […]