Apache版UPUPW PHP5.2系列环境包1510 开启HTTPS一直不成功
Include conf/extra/httpd-ssl.conf httpd-ssl.conf里面我改成这样 复制代码 <VirtualHost *:443> DocumentRoot "D:/upupw/htdocs" ServerName localhost:443 ServerAlias 127.0.0.1 ServerAdmin webmaster@example.com DirectoryIndex index.html index.htm index.php default.php app.php u.php ErrorLog logs/example_error.log CustomLog logs/example_access.log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" SSLEngine on SSLCertificateFile "D:/upupw/Apache2/conf/server.crt" SSLCertificateKeyFile "D:/upupw/Apache2/conf/server.key" SSLCertificateChainFile "D:/upupw/Apache2/conf/CA.crt" <FilesMatch "\.(shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> BrowserMatch "MSIE [2-5]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </VirtualHost> 服务器是阿里云的windows 2008 R2服务器 Apache PHP5.2系列环境 |
|