https提示403错误,http正常.求救~~

风弥 发布于 2016/06/07 14:34
阅读 4K+
收藏 0

环境:阿里云  centos7  +  oneinstack[ apache 2.4 + php 7.0.6]

使用沃通免费ca.按照沃通的的pdf文档部署

http://www.wosign.com/Docdownload/Apache%20SSL%E8%AF%81%E4%B9%A6%E9%83%A8%E7%BD%B2%E6%8C%87%E5%8D%97.pdf

现在http可以正常访问, https提示 403错误

Forbidden

You don't have permission to access /admin/pub/login.html on this server.


以下是http-ssl.cof文件的配置


Listen 443
SSLCipherSuite AESGCM:ALL:!DH:!EXPORT:!RC4:+HIGH:!MEDIUM:!LOW:!aNULL:!eNULL;
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLHonorCipherOrder on 
SSLProtocol all -SSLv2 -SSLv3 
SSLProxyProtocol all -SSLv3
SSLPassPhraseDialog  builtin
SSLSessionCache        "shmcb:/usr/local/apache/logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300
<VirtualHost _default_:443>
DocumentRoot "/data/wwwroot/xxx.xxx.com"
ServerName xxx.xxx.com:443
ServerAdmin xxx@xxx.com
ErrorLog "/usr/local/apache/logs/error_log"
TransferLog "/usr/local/apache/logs/access_log"
SSLEngine on
SSLCertificateFile "/usr/local/apache/conf/ssl/shop.crt"
SSLCertificateKeyFile "/usr/local/apache/conf/ssl/shop.key"
SSLCertificateChainFile "/usr/local/apache/conf/ssl/shop_chain.crt"
<FilesMatch "\.(cgi|shtml|phtml|php)$">
    SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/usr/local/apache/cgi-bin">
    SSLOptions +StdEnvVars
</Directory>




BrowserMatch "MSIE [2-5]" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0
CustomLog "/usr/local/apache/logs/ssl_request_log" \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"


</VirtualHost>                                  



加载中
0
风弥
风弥
搜索了好多网站要不没有回答,要不是就是http下的403, 不是这种情况...
0
孤独的阅读者
孤独的阅读者

提示的很清楚,应该是你路径配置错误了


返回顶部
顶部