Apache: Setting up a reverse proxy configuration with SSL with url rewriting
Posted
by
user1172468
on Server Fault
See other posts from Server Fault
or by user1172468
Published on 2012-10-18T22:49:20Z
Indexed on
2012/10/18
23:03 UTC
Read the original article
Hit count: 338
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:
© Server Fault or respective owner