#1
There seems to be a problem with the way YAF deals with HTTPS hosted sites. When the site is accessed with HTTPS://SITENAME.COM/default.aspx....  it for some reason tries to use the link HTTP://SITEMANE.COM :443/ which doesn't resolve...

I manually went in and changed for my deployment the following lines, but I think this needs to be addressed for the next release... as the current way is NOT 100% accurate.

FROM:
bool isSecure = (HttpContext.Current.Request.ServerVariables["HTTPS"😉 == "ON"😉;


TO:
bool isSecure = (serverPort == 443);
Topic Starter
  • VagyokC4
  • Rank: Member
  • Reputation:
    Friendly
    63.8%
  • Joined: 18/06/2008
  • Posts: 21
#2
Not entirely sure what the issue is here -- but I modified the code a bit and added (serverPort == 443)
  • Jaben
  • Rank: YAF Developer
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.YAF.NET Supporter: Loves YAF.NET!YAF.NET Supporter: Supports our efforts. Thank you.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.
  • Joined: 09/10/2004
  • Posts: 2,544
  • Location: United States
  • Thanks: 142 times
  • Was thanked: 352 time(s) in 195 post(s)
Users browsing this topic

Similar Topics
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved