Свежая установка OwnCloud загружает пустую белую страницу

У меня Ubuntu 20.04, и я только что установил последнюю версию owncloud на свою лампу, расположенную по адресу

Проблема: owncloud обслуживает пустую белую страницу на https://someothersite.org/

Полезная информация: у меня уже есть несколько установок WordPress, использующих сертификат OpenSSL, указывающий на /var/www/html/на порт 443

Я проверил свой SSL, добавив phpmyinfo.php в /var/www/html/owncloud/каталог и успешно достигли URL-адреса https://someothersite.org/phpmyinfo.phpпоэтому предупреждения SSL не заставляют SSL блокировать файлы в каталоге. Я подозреваю, что проблема не в SSL.

В моем owncloud.confфайл у меня есть:

      <VirtualHost *:443>
    ServerName someothersite.org 
    ServerAlias www.someothersite.org 

    # If this is the default configuration file we can use: 'ServerName localhost' or also 'ServerAlias localhost'.

    ServerAdmin info@thesolutiontopoverty.org

    ErrorLog ${APACHE_LOG_DIR}/someothersite.org.error.log
    CustomLog ${APACHE_LOG_DIR}/someothersite.org.access.log combined

    DocumentRoot /var/www/html/owncloud/

    <Directory /var/www/html/owncloud>
        Options None FollowSymLinks
        # Enable .htaccess Overrides:
        AllowOverride All
        Order allow,deny
        Allow from all
        Require all granted
    </Directory>

    #My Edit
    SSLEngine on
    SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
    SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key
</VirtualHost>

В моем default-ssl.confфайл у меня есть:

      <IfModule mod_ssl.c>
    <VirtualHost _default_:443>
        ServerAdmin info@someothersite.org
        ServerName localhost
            ServerAlias localhost

        DocumentRoot /var/www/html/

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

        SSLEngine on

        SSLCertificateFile  /etc/ssl/certs/ssl-cert-snakeoil.pem
        SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key

        <FilesMatch "\.(cgi|shtml|phtml|php)$">
                SSLOptions +StdEnvVars
        </FilesMatch>
        <Directory /usr/lib/cgi-bin>
                SSLOptions +StdEnvVars
                DirectoryIndex index.php
                AllowOverride All
                #DP Edit - I disabled these
                Order allow,deny
                Allow from all
                Require all granted
        </Directory>

          BrowserMatch "MSIE [2-6]" \
                nokeepalive ssl-unclean-shutdown \
                downgrade-1.0 force-response-1.0

    </VirtualHost>
</IfModule>

В моем /etc/hostsфайл у меня есть:

      127.0.0.1   localhost 
127.0.0.1   someothersite.org

В моем someothersite.org.error.logУ меня есть следующая ошибка:

      [ssl:warn] [pid 32824] AH01906: someothersite.org:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[ssl:warn] [pid 32824] AH01909: someothersite.org:443:0 server certificate does NOT include an ID which matches the server name
[ssl:warn] [pid 32824] AH01906: someothersite.org:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[ssl:warn] [pid 32824] AH01909: someothersite.org:443:0 server certificate does NOT include an ID which matches the server name

Какие-нибудь советы?

0 ответов

Другие вопросы по тегам