Почему при таких настройках, заходит на сайт с таким адресом
https://www.site.com//<VirtualHost *:80>
ServerName www.site.com
ServerAlias site.com
ServerAdmin webmaster@site.com
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.site.com/$1 [L,R=301]
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "/home/www/site.com"
ServerName www.site.com
ServerAlias www.site.com
ServerAdmin webmaster@site.com
<Directory "/home/www/site.com">
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
ErrorLog /var/log/www/site.log
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/site.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/site.com/privkey.pem
</VirtualHost>
Сам файл .htaccess в директории сайта:<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>