吾爱折腾-海南益嘉科技

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 486|回复: 0

UPUPW迁移新版

[复制链接]

31

主题

32

帖子

211

积分

超级版主

Rank: 8Rank: 8

积分
211
发表于 2021-3-14 17:11:33 | 显示全部楼层 |阅读模式
原UPUPW APACHE是32位版本,现更换为64位新版。
1.原upupw  htdocs所有文件全部拷贝
2.httpd.conf    开启  LoadModule ssl_module modules/mod_ssl.so 模块以支持ssl
3.httpd.conf 指定 ssl配置文件
<IfModule ssl_module>
    Include conf/extra/httpd-ssl.conf
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
</IfModule>

4.httpd-ssl.conf配置虚拟主机,和证书文件
<VirtualHost *:443>
    DocumentRoot "E:/upup/UPUPW_AP5.6/htdocs/"
    ServerName www.nanhaixf.gov.cn:443
    #ServerAlias example.com
    ServerAdmin webmaster@example.com
    DirectoryIndex index.html index.htm index.php default.php app.php u.php
    ErrorLog logs/www.nanhaixf.gov.cn_https_error.log
    CustomLog logs/www.nanhaixf.gov.cn_https_access.log \
    "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %>s %b"
    SSLEngine on
        SSLCertificateFile "conf/www.nanhaixf.gov.cn/full_chain.pem"
    SSLCertificateKeyFile "conf/www.nanhaixf.gov.cn/private.key"
<Directory "E:/upup/UPUPW_AP5.6/htdocs">
    SSLOptions +StdEnvVars
    AllowOverride All
    Require all granted
</Directory>
<FilesMatch "\.(shtml|phtml|php)$">
    SSLOptions +StdEnvVars
</FilesMatch>
    BrowserMatch "MSIE [2-5]" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
</VirtualHost>

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|专业IT服务商-海南益嘉科技 ( 琼ICP备16001500号-3 )

GMT+8, 2025-6-4 18:31 , Processed in 0.030447 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表