欢迎光临
我们一直在努力

upupw 配置ssl

NameVirtualHost *:443

<VirtualHost *:443>
DocumentRoot “D:/www”
ServerName www.xxx.com
ServerAlias www.xxx.com
ServerAdmin admin@xxx.com

DirectoryIndex index.html index.htm index.php default.php app.php u.php
FcgidInitialEnv PHPRC “D:/UPUPW_ANK_W64/Modules/PHPX/PHP7X/php.ini”
ExpiresActive Off
BandwidthModule Off
ForceBandWidthModule Off

SSLEngine on

SSLCertificateFile “D:\UPUPW_ANK_W64\WebServer\Apache\xxx.com.crt”
SSLCertificateKeyFile “D:\UPUPW_ANK_W64\WebServer\Apache\xxx.com..key”

SSLCertificateChainFile “D:\UPUPW_ANK_W64\WebServer\Apache\ca.crt”

<FilesMatch “\.(cgi|shtml|phtml|php)$”>
SSLOptions +StdEnvVars
</FilesMatch>
<Directory “D:/www”>
Options FollowSymLinks ExecCGI
AllowOverride All
<RequireAll>
Require all granted
</RequireAll>

</Directory>
<LocationMatch “/(attachment|attachments|uploadfiles|avatar)/(.*).(php|phps|php5|php7|fcgi|jsp|jspx|asp|aspx|asa|asax|ascx|ashx|asmx|axd)$”>
AllowOverride none
Require all denied
</LocationMatch>
</VirtualHost>

赞(0) 打赏
未经允许不得转载:优惠吧 » upupw 配置ssl
分享到: 更多 (0)

评论 抢沙发

评论前必须登录!