How to
url rewriting using web.config in asp.net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Upendra Pratap ShahiPosted Jun 10, 2015, 6:41 AM
Upendra Pratap ShahiPosted Jun 10, 2015, 7:45 AM
Lalit RaghavPosted Jun 10, 2015, 7:42 AM
Khan Abrar AhmedPosted Jun 10, 2015, 6:49 AM
NAME
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
Rajeesh MenothPosted Jun 10, 2015, 6:36 AM