-
3
Answers
-
Last Activity:
long time ago,
rudgr
Your question has been submitted and is awaiting moderation.
Thank you for reporting this content, moderators have been notified of your submission.
Hi
I've developed a few custom modules for a new portal site using DNN 7. Everything is working fine on the test system, but the live deployment needs to go onto a server with an SSL certificate and accessed via an Apache reverse proxy server. e.g. The live server DNN portal address is http://liveserver:8087, the external DNS address is http://DNNportal.myorg.com.
The Apache reverse proxy server directs all requests for http://DNNportal.myorg.com, to: http://liveserver:8087
This first step is working quite well. Landing page loads without issues.
The problem is that the homepage links (login, register, forgot password etc) all seem to be absolute and not relative links. Login attempts are redirected (incorrectly) to http://liveserver:8087/Home.aspx instead of http://DNNportal.myorg.com/Home.aspx
I've tried FriendlyURL / Advanced URL settings, I've tried Host settings, HTML editor (relative/absolute links), I've tried setting Alias in Site settings. Nothing seems to have any affect on the Login redirect. The reverse proxy handles normal links pretty well, but seems to struggle with JavaScript links.
I would really appreciate any advice on how to get the Login redirect working correctly (relative URL).
Many thanks!