403禁止的虚拟主机

时间:2019-04-29 16:54:43

标签: apache

我有错误:

禁止 您无权访问此服务器上的/。 在我的网站上。这是我的配置:

<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerName ###
        ServerAlias ###
        ServerAdmin ###
        DocumentRoot /media/sdb/###/public_html/

        SSLVerifyClient require
        SSLVerifyDepth 10
        SSLCACertificateFile /ssl/ca/rootCA.pem
        SSLOptions +StdEnvVars


        ErrorLog ${APACHE_LOG_DIR}/001-error.log
        CustomLog ${APACHE_LOG_DIR}/001-access.log combined

        # HSTS (15768000 seconds = 6 months)
        # Header always set Strict-Transport-Security "max-age=15768000"

        # modern configuration, tweak to your needs
        SSLProtocol             all -SSLv3 -TLSv1 -TLSv1.1
        SSLCipherSuite          ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-P$
        SSLHonorCipherOrder     on
        SSLCompression          off
        SSLSessionTickets       off

        # OCSP Stapling
        #SSLUseStapling          on
        #SSLStaplingResponderTimeout 5
        #SSLStaplingReturnResponderErrors off
        #SSLStaplingCache        shmcb:/var/run/ocsp(128000)

        SSLEngine on
        SSLCertificateFile    /ssl/siteCRT/###.crt
        SSLCertificateKeyFile /ssl/siteCRT/###.key

</VirtualHost>
</IfModule>

权限:

drwxr-xr-x 4 www-data www-data 4096 Jan 31 10:08 public_html
-rwxr-xr-x    1 www-data www-data  1316 Nov 24 08:21 index.php

您能帮我吗?我不知道错误在哪里; /

0 个答案:

没有答案