Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version in C:\html\csoft\wwwroot\content\templates\MeiYing\log_list.php on line 14
Warning: getimagesize(): Failed to enable crypto in C:\html\csoft\wwwroot\content\templates\MeiYing\log_list.php on line 14
Warning: getimagesize(https://www.a-nan.com/content/uploadfile/201806/6e031530255627.png): failed to open stream: operation failed in C:\html\csoft\wwwroot\content\templates\MeiYing\log_list.php on line 14
由于本站启用了SSL,需要把原来http://www.a-nan.com自动重定向到https://www.a-nan.com
这里记录了我重写到HTTPS的方法:
1、服务器打开IIS,在左侧选中需要开启HTTPS的网站,在右边找到"SSL设置",双击进去,把"要求 SSL"的勾去掉,然后点击应用;
2、选中需要开启HTTPS的网站,在右边找到"URL重写"
双击进入"URL重写",点击右边的"添加规则..."
...