Answers
Subject Date - DESC Rating Viewed Topic
Article Selected >> How do I configure IIS to forward all HTTP requests to HTTPS?
Question:
I have an iService On-Premise tenant that I'd like to require SSL on, but would also like non-SSL requests to work.  How do I configure IIS to forward all HTTP requests to HTTPS?
Answer:
To configure in IIS 7.0+, use the following setups:

• Make sure that both https (port 443) and http (port 80) on your site are bound to your environment's desired host/ip in IIS, such as in the example below. For more information on configuring bindings, see https://technet.microsoft.com/en-us/library/cc731692(v=ws.10).aspx

• Install the url_rewrite mod for IIS, which can be found at https://www.iis.net/downloads/microsoft/url-rewrite. This can also be installed using the Windows Server Role/Feature manager in some versions of Windows Server.

• In the web.config file, add the following inside the system.webServer tag:

<rewrite> 
  <rules>
<rule name="HTTP to HTTPS redirect" enabled="true" stopProcessing="true">
  <match url="(.*)" />
    <conditions>
      <add input="{HTTPS}" pattern="off" ignoreCase="true" />
    </conditions>
  <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
</rule>
  </rules>
</rewrite>

Article DetailsSubscribe and Rate this article
Article ID:583577
Date Updated:10/26/2016 11:29:17 AM
# Views:1807
Article Creator:Steve A. Dubrick
Article Topic:Site configuration
Attachments:ii_72a0682df61844d9bd07f32bee96c9d7
simple user login check for iService forms 2/4/2016 8:58:06 AM None 1602 Technical Support
Changing the Message Queue actions to the custom portal form 1/22/2016 5:40:23 PM None 1586 Technical Support
Updating the Message Queue page to the new version in 7.4 1/22/2016 5:24:29 PM None 2244 Site configuration
Making a form to display an interaction body or other details 8/27/2015 1:32:18 PM None 1722 Technical Support
Considerations when setting up a service account to run utilities 7/3/2015 4:51:20 PM None 2422 Batch Utility
Customer did not receive an iService email 8/7/2014 9:12:48 AM 4.0 2031 Technical Support
Updating agent count for on-premise installations 7/7/2014 11:59:40 AM 4.5 2754 Site configuration
How do I create a report subscription? 6/23/2014 11:26:47 AM None 2617 Reports
Setting mailbox for reuse later 4/10/2014 9:57:12 AM None 1945 Technical Support
Chat interface is mistakenly displayed when I login using Internet Explorer 3/11/2014 9:57:20 AM None 2069 Technical Support
When I log in, I don't see the Message Queue tab 2/24/2014 11:56:11 AM 4.0 2106 Technical Support
Email not received by iService 1/16/2014 9:28:58 AM 4.0 2789 Email Processing
Changing the mailbox specified for messages in SMTPout 9/5/2013 10:53:53 AM None 3014 Email Processing
Impact of iService On-demand on your IT department 5/21/2013 9:51:43 AM None 3087 Security
Creating an agent from an existing contact 3/26/2013 2:36:46 PM 4.0 3201 Security
Ensuring that SPAM contacts are not mislabeled and steps to correct 3/19/2013 3:22:32 PM None 2392 Technical Support
Setting message in SMTPOut for immediate delivery 2/25/2013 1:27:09 PM None 3632 Email Processing
JQuery Mobile and iService Forms 1/13/2013 1:24:26 PM None 3459 Customizing iService
Simple example for filtering messages to a new topic 12/18/2012 3:39:34 PM 5.0 3405 Site configuration
Lost password, administrator forwarding link 12/4/2012 8:48:19 AM 5.0 2398 Technical Support
iService Business Intelligence and Reports Documentation 8/1/2012 10:52:21 AM 4.0 3206 Reports
List of bookmarks/favorites to common tasks 4/7/2012 10:24:15 AM 4.0 2558 Technical Support
What is the expiration time of the link that's sent in the forgot password email? 12/20/2011 9:36:48 AM None 2057 Technical Support
create a filter to catch part of an email address 10/3/2011 1:38:02 PM 4.0 2846 Customizing iService
Please Wait...