Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

One SSL and many non ssl virtuals

Status
Not open for further replies.

nego78

Programmer
Jun 13, 2004
129
0
0
PL
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top