rendered paste bodyListen 80
Listen 443
NameVirtualHost 1.2.3.4:80
<VirtualHost 1.2.3.4:80>
RedirectMatch ^/$ https://www.test.com/index.html
ServerName www.test.com
ServerAlias test.com
ServerAdmin webmaster@test.com
DocumentRoot "D:/apache/htdocs/test"
ErrorLog logs/test.com-error_log
CustomLog logs/test.com-access_log common
SSLEngine On
SSLCertificateFile conf/ssl/test.crt
SSLCertificateKeyFile conf/ssl/test.key
RedirectMatch ^/$ https://www.test.com/index.html
SSLCACertificateFile conf/ssl/intermediate.crt
<Directory "D:/apache/htdocs/test">
AllowOverride All
</Directory>
</VirtualHost>