Knowledge Partner Knowledge Partner
Knowledge Partner
306 views

Re: Proxy to specific URL path

adamdn01 wrote:

>
> Hi all,
>
> This may be a novice question--sorry--but I am fairly new to AM. I've
> taken training, but have done very little with it so far.
>
> I have a request to proxy the root of a new domain to a specific path
> of another. Surely AM can do this (even Apache can), but I'm not
> having much luck figuring it out. I was looking at redirecting and
> then doing HTML rewrite, but I'm even having trouble getting that to
> rewrite anything.
>
> In other words, I'm trying to proxy like this:
> newdomain.com -> olddomain.com/subarea
>
>
> Anyone have any suggestion?


As Kevin already said, it can definily be done. We actually do it with
our own deployment. We have a base URL. Something like:
support.company.com

On this domain we have things like:
support.company.com/appA
support.company.com/appB
support.company.com/appC

These appA, appB etc are all on different webservers. Once you've
created the base/master proxy (whatever you want to call it) you can
create a new proxy service where you can select its a path based
multi-homing type. Additionally you can add a alternative name in for
the webserver but as Kevin pointed out if the pages contain links to
other internal webservers other than the original web server you can
rewrite those. You can also choose to have the path removed when the
request is being send on to the webserver.

Let us know if you have more questions.

--
Cheers,
Edward
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.