Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the URL Rewrite Module for IIS: http://www.iis.net/downloads/microsoft/url-rewrite
  2. Require SSL must not be checked for either Default Web Site or for any application (ex: AdamsAdmin, AdamsWeb, AdamsBridge, etc) under that.  You can check the SSL Settings for each to see that it isn’t.
  3. IIS Manager must be closed
  4. Add a web.config file to the web siteserver's root directory (ex: c:\inetpub\wwwroot) with the below content or the configuration section only if the web.config already exists.  The web server's root directory is typically c:\inetpub\wwwroot even if you have installed Adams web applications on another drive such as e:\inetpub\wwwroot.

    Code Block
    languagexml
    titleweb.config
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
    	<system.webServer>
    		<rewrite>
    			<rules>
    				<rule name="Redirect to HTTPS" enabled="true" stopProcessing="true">
    					<match url="(.*)" />
    					<conditions>
    						<add input="{HTTPS}" pattern="^OFF$" />
    					</conditions>
    					<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" />
    				</rule>
    			</rules>
    		</rewrite>
    	</system.webServer>
    </configuration>


  5. Open IIS Manager
  6. Open Default Web Site → URL Rewite
  7. Select the "Redirect to HTTPS" rule and verify it is enabled. If not click Enable Rule 

...