i've got a a domain which runs over port 80, now i'd like move it to 443 on ssl.
On this machine i 've many virt host running on 80.
i can delegate another ip for ssl.
<VirtualHost xx.xx.xx.xxx:80>
ServerAdmin admin@example.com
DocumentRoot /home/klienci/mia/strony_ ServerName example.com
ServerAlias </VirtualHost>
<IfDefine SSL>
<VirtualHost xx.xx.xx.xxx:443>
ServerAdmin admin@example.com
DocumentRoot /home/klienci/mia/strony_ ServerName example.com
ServerAlias SSLCertificateFile /usr/local/etc/apache2/ssl/example.com.crt
SSLCertificateKeyFile /usr/local/etc/apache2/ssl/example.com.key
</VirtualHost>
</IfDefine>
Via-Net - web directory
On this machine i 've many virt host running on 80.
i can delegate another ip for ssl.
<VirtualHost xx.xx.xx.xxx:80>
ServerAdmin admin@example.com
DocumentRoot /home/klienci/mia/strony_ ServerName example.com
ServerAlias </VirtualHost>
<IfDefine SSL>
<VirtualHost xx.xx.xx.xxx:443>
ServerAdmin admin@example.com
DocumentRoot /home/klienci/mia/strony_ ServerName example.com
ServerAlias SSLCertificateFile /usr/local/etc/apache2/ssl/example.com.crt
SSLCertificateKeyFile /usr/local/etc/apache2/ssl/example.com.key
</VirtualHost>
</IfDefine>
Via-Net - web directory