2

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:

https://secure.foo.com/some/path/123

is accessible by going to:

http://internal.bar.com/some/path/123

Thanks.

I've gotten this far:

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

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
user1172468
  • 299
  • 1
  • 2
  • 11

0 Answers0