Part 3
« Thread started on: Oct 30th, 2005, 4:21pm »
CREATE VIRTUAL SERVER: Create file and Add following lines to /etc/apache2/myconf/myconf.conf: #--------------------------------------------# # SSL Virtual Host Context #--------------------------------------------# Listen 192.168.1.100:443 <VirtualHost 192.168.1.100:443>
# General setup for the virtual host DocumentRoot /www ServerAdmin webmaster@mydomain.com ServerName www.myserver.com
# SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on
SSLCertificateFile /certs/server.crt
# Server Private Key: # If the key is not combined with the certificate, use this # directive to point at the key file. Keep in mind that if # you've both a RSA and a DSA private key you can configure # both in parallel (to also allow the use of DSA ciphers, etc.)