Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

There is a host: secure.foo.com that exposes a webservice using https

I want to create a reverse proxy using Apache that maps a local http port on a server internal.bar.com to the https service exposed by secure.foo.com

Since it a web service I need to map all urls so that a path:


is accessible by going to:



I've gotten this far:

<VirtualHost *:80>
  ServerName gnip.measr.com
  SSLProxyEngine On
  ProxyPass / https://internal.bar.com/

I think this is working except for the url rewriting.

Some resources I've found on this are:

  1. Setting up a complex Apache reverse proxy
  2. Apache as reverse proxy for https server
share|improve this question
Is the problem with URLs referenced in HTML/CSS/JS resources that aren't loading with the internal name? –  Shane Madden Oct 19 '12 at 6:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.