One of our customers has a DNN site that is behind a reverse proxy server. The communication is like this:
User -> Reverse Proxy (HTTPS Apache) -> DNN (HTTP IIS)
Since we activated the reverse proxy the popups on the site stopped working because of the mixed-content error on the browser.
At first, we perceived that this was happening to some custom modules popups. We couldn't find the code where it would call the DNN popup and pass the URL to change it from HTTP to HTTPS, so we did a little hack in js/dnn.modalpopup.js to replace "http" with "https" in the URL string.
That worked, but then we noticed that it was also happening to some official parts of DNN, like when we try to create a user (it is through a popup) and click on Submit, it will freeze with the loading spinning, but the console complains about mixed-content again. The funny thing is that the user is created, it just can't get out of the popup after it saves.
We tried enabling SSL in host setting and enforcing SSL, but that causes some pages to not load with TOO_MANY_REDIRECTS error. It is worth mentioning that we don't have any URL rewrite enabled on IIS.
We also tried to set IsSecure in all records in Tabs table, but that caused the site to not load at all with the error TOO_MANY_REDIRECTS.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.