Answer the question
In order to leave comments, you need to log in
Links don't work anymore after connecting ssl certificate, what could be the problem?
After connecting the ssl protocol, the links started not working correctly, following the links via http everything works, what could be the problem?
Logs from /var/log/apache2/error.log
[Sat Mar 09 01:30:48.049543 2019] [mpm_prefork:notice] [pid 20094] AH00169: caught SIGTERM, shutting down
[Sat Mar 09 01:30:49.181613 2019] [mpm_prefork:notice] [pid 20172] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
[Sat Mar 09 01:30:49.181695 2019] [core:notice] [pid 20172] AH00094: Command line: '/usr/sbin/apache2'
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName site.ru
DocumentRoot /var/www
DirectoryIndex index.php index.html
ErrorLog /var/log/apache2/site_ru_ssl_error.log
LogLevel error
CustomLog /var/log/apache2/site_ru_ssl.log combined
AddType application/x-httpd-php .php
SSLEngine on
SSLCertificateFile /etc/ssl/site_ru.crt
SSLCertificateChainFile /etc/ssl/site_ru.ca-bundle
SSLCertificateKeyFile /etc/ssl/my_key.key
</VirtualHost>
Not Found
The requested URL /news was not found on this server.
Apache/2.4.10 (Debian) Server at site.ru Port 443
Answer the question
In order to leave comments, you need to log in
How about DocumentRoot /var/www ?
Usually, a separate folder is created in /var/www/ for each virtual host.
In Debian, by default for the default Wirth. host - /var/www/html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question