在iis的站点中仅使一页https [英] Make only one page https in a site in iis

查看:79
本文介绍了在iis的站点中仅使一页https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在努力使站点页面启用SSL,并在iis上安装了ssl证书.我只想制作一个页面,即login.aspx作为https,其余页面将是http.当我登录到应用程序时,应使用http将其重定向到登录页面,而当我注销时,应使用https返回至login.aspx.

Hi All,

I am working on making the site page SSL enabled and have got the ssl cert installed on the iis. I want to make only one page i.e. login.aspx as https and rest of the pages will be http. when i login to the application it shoud redirect to the landing page with http and when i log out it should go back to the login.aspx with https. How can I configuring the iis so that i can do this?

推荐答案

试试看:

在HTTP和HTTPS之间自动切换 [
Try this :

Switching Between HTTP and HTTPS Automatically[^]

hope it helps :)


我手动进行了以下设置:当用户通过身份验证并从应用程序的登录页面重定向到应用程序的登录页面时,它将使用HTTP,并且当用户注销并重定向到登录页面时它使用HTTPS.
I manually made the setting that when user is authenticated and redirected from login page to landing page of application then it uses HTTP and when user logs out and redirected to login page it uses HTTPS.


这篇关于在iis的站点中仅使一页https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆