Mar 15, 2015, 5:07 PM
3 Posts
topic has been resolvedResolved

reloadPage and relative URL

  • Category: Server Side JavaScript
  • Platform: Linux
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 3

Hi,

 

are there a way to force "context.reloadPage" to send a relative path ? I have an application behind a reverse proxy, and the server names are different.

Let's me explain : in front of my reverse proxy, in my browser, I use https://myapp.mydomain.fr and the "reverse proxy" reaches the domino by http://mystream (without SSL and a short name). When I use "context.reloadPage" or "context.redirectToPage" the server sends an URL with http://mystream and not https://myapp.mydomain.fr


‚ÄčAny idea ???

 

regards,

Olivier

Mar 15, 2015, 8:45 PM
589 Posts
hmmm

I don't know anything about reverse proxy's...   my only suggestion is you might need to built the link manually to the right domain name...  I have a "URL Cheatsheet" that might help you extract any of the uRL bits you may need...

Good Luck

 

Mar 18, 2015, 12:04 PM
3 Posts
it is too bad

Thanks for your advise, but it's too bad that "reloadPage" and "redirectToPage" are forced with an absolute path !!!