Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
reverse proxy issue? Fails on 15.1.5 works on 15.0.17
#5
The only thing that the proxy should do is forwarding the request to the appropriate address without rewriting anything.

IntraWeb will generate relative paths only, unless it is necessary to generate absolute URLs. For instance, the mentioned response should actually be:

<response>
<execute>
<literal>
<![CDATA[
window.location.replace("/webppreviewer_DEV/projecttestssl.dll/");
]]>
</literal>
</execute>
<trackid>11</trackid>
</response>

which would work nicely.

URLRewrite as a reverse proxy is IMO far from ideal but it would also work if it just stop rewriting stuff on the fly.

The only thing you need to take care from your application is the URL base. I.e, if any path beyond the domain is required, you must set application URL base in your ServerController.

Example, if you need to type this in order to access your application:

http://cdpservices.pcg.com/webppreviewer_DEV/

Your URL base should be set to /webppreviewer_DEV/
Reply


Messages In This Thread
RE: reverse proxy issue? Fails on 15.1.5 works on 15.0.17 - by Alexandre Machado - 11-17-2019, 01:01 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)