Code代码片断(5do8)

FSO正则ADO内置对象基础语法

新主题
远程桌面 Web 连接
[ASP]使用类,实现模块化(...
ISAPI Rewrite 实例
清除字符串中的html代码
说话自由

首页 » ASP » 基础语法 »

ISAPI Rewrite 实例

标签: https RewriteCond

# redirect all http requests  to https
RewriteCond  %HTTPS (?!on).*
RewriteCond Host: (.*)
RewriteRule (.*) https\://$1$2 [I,RP]


以上代码把所有http的请求都发生至https了。

ccdot写于2008-7-3 15:56:39

如果愿意,请留下你观点或者感受...
称呼*
内容*
验证码*