Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Enabling HTTPS breaks forum
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Enabling HTTPS breaks forum

 Post Reply Post Reply Page  <12
slappyJ View Drop Down

Joined: 28 January 2004
Status: Offline
Points: 166
Post Options Post Options   Thanks (0) Thanks(0)   Quote slappyJ Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2019 at 9:59pm
Tech support got the forum up and running with some tweaks...

We got the forum loading with the following change to the functions/functions_common.asp file:

In the SSLswitch sub, this line:
strServerHttpsStatus = Request.ServerVariables("HTTPS")

Was replaced with:
If InStr(Request.ServerVariables("SERVER_NAME"),"ssl") = 0 Then
strServerHttpsStatus = "off"
strServerHttpsStatus = "on"
End If

And I've replaced http:// in URLs with https:// so that browsers no longer show a warning of "connection not secure".

Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.

Become a Fan on Facebook Follow us on Twitter Connect with us on LinkedIn Community Forums Web Wiz Blogs Web Wiz News
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2021 Web Wiz Ltd. All rights reserved.