You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Owen Williams <wi...@dmu.ac.uk> on 2014/06/23 17:39:27 UTC

[users@httpd] Reverse Proxy configuration

Hello,
  I am trying to create a reverse proxy to relabel a cloud based service
to look internal to our university.

I'm using:

httpd-2.2.15

I have lots working but I have three examples that where Apache won't
replace text for another URL stub:

1. <script type="text/javascript">
		var PRISM = {
			'base_url':'http://external.co.uk',

2. <script type="text/javascript"
  src="//external.co.uk/dmu-sandbox/assets/-/tour.en-gb.js"></script>

3. <a href="/sessions?saml=1&amp;referer=https%3A%2F%2Fexternal.co.uk%2Fdmu-sandbox%2Faccount" 

where I want Apache to replace external.co.uk or
external.co.uk/dmu-sandbox with our site or '/'.

Any ideas, please?

Best regards,

Owen.