Using apache as a Reverse Proxy with location http header correction

If you have a front end web server and want to map to a back end application. Apache can do that.

One problem that may occur is a back end application passes back a URL based on the private connection.

this can be fixed with the Header command:

Header edit Location http://backend:8080 https://public.url.com

http://www.denraf.be/content/apache-redirect-response-header
http://httpd.apache.org/docs/current/mod/mod_headers.html
http://httpd.apache.org/docs/2.2/mod/mod_headers.html#header

Leave a Reply