+ Post New Thread
Results 1 to 3 of 3
Web Development Thread, [SOLVED] Problems between HTTP and HTTPS in Coding and Web Development; I am currently re-developing our website and have come across some issues with getting it to go to the correct ...
  1. #1
    thesk8rjesus's Avatar
    Join Date
    Sep 2008
    Posts
    107
    Thank Post
    11
    Thanked 6 Times in 6 Posts
    Rep Power
    14

    [SOLVED] Problems between HTTP and HTTPS

    I am currently re-developing our website and have come across some issues with getting it to go to the correct pages. On the website I have a link to go to 'Accounts' this part of the website needs to be HTTPS, so i created a IIS rewrite rule that changes this part into HTTPS. Inside this works perfectly. Unfortunately when I access the website away from my network it changes the account link to HTTP, if i type in HTTPS it works fine but the link will not auto redirect.

    It is all under one site in IIS as i believe that is correct with a valid certificate, and bindings for both port 80 and 443,

    if anyone else has seen this or knows why this is happening, your help would be grateful.
    Last edited by thesk8rjesus; 7th March 2013 at 01:51 PM.

  2. #2
    thesk8rjesus's Avatar
    Join Date
    Sep 2008
    Posts
    107
    Thank Post
    11
    Thanked 6 Times in 6 Posts
    Rep Power
    14
    After changing what I was googling I have found that the problem is down to TMG 2010 and its sending the clients round in a loop because of the URL Rewrite rule that I have. If anyone knows how to configure TMG 2010 to use URL Rewrite rules correctly, please help.

  3. #3
    thesk8rjesus's Avatar
    Join Date
    Sep 2008
    Posts
    107
    Thank Post
    11
    Thanked 6 Times in 6 Posts
    Rep Power
    14
    After bashing my head against my monitor, my brain started to work and i have found the solution to having a HTTP and HTTPS site through TMG2010.

    To stop the problem of it going to HTTP i had to create a new rule stating that anything that went to /account/* would be denied and redirected to https://domain/account/*, this rule had to be higher than the HTTP allow rule.

    I removed the URL Rewrite rule from IIS and this is now working, externally and internally.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 12th December 2008, 03:10 PM
  2. Windows Profiles and https websites
    By wellscs in forum Windows
    Replies: 1
    Last Post: 8th September 2008, 11:18 AM
  3. Problems logging in with HTTPS - moodle
    By timbo343 in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 12th February 2008, 09:59 AM
  4. Moodle and HTTPS
    By timbo343 in forum Virtual Learning Platforms
    Replies: 12
    Last Post: 24th January 2008, 04:07 PM
  5. E-Portal and https configuration
    By daveyboy in forum MIS Systems
    Replies: 3
    Last Post: 13th September 2006, 01:04 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •