skip to content
wiki.lkaplan.cz
User Tools
Log In
Site Tools
Search
Tools
Show page
Old revisions
Backlinks
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
wiki:os:microsoft:iis-redirect-to-https
====== IIS redirect HTTP to HTTPS ====== - Install URL Rewrite 2.0 module to your IIS8 - Open IIS Manager, expand the Sites container and select the website you wish to configure the http redirection. - Once highlighted, doubleclick the URL Rewrite option in the right hand pane. Select Add Rule and configure the following: {{ :wiki:os:microsoft:iis-redir1.png?600 |}} ADD new {{ :wiki:os:microsoft:iis-redir2.png?600 |}} * Select: Blank Rule * Name: http to https * Match URL – Requested URL: Matches the Pattern * Match URL – Using: Regular Expression * Pattern: (.*) * CONDITIONS * Conditions: Add * Condition Input: {HTTPS} * Check if input string: Matches the Pattern * Pattern: ^OFF$ * Click OK * ACTION * Action type: Redirect * Redirect URL: https:%%//%%{HTTP_HOST}/{R:1} * Redirect type: See Other (303) * Click Apply * Requests to your site via HTTP should now be redirecting to HTTPS.
wiki/os/microsoft/iis-redirect-to-https.txt
· Last modified: 2018/01/22 13:26 by
root
Page Tools
Show page
Old revisions
Backlinks
Back to top