Also, if you want to use an ssl host, you can mix name based and ipbased virtual hosts in your httpd.conf file. Namebased virtual hosts do not work with SSL servers because of the way the headers are received by the server.
You'll need to define a second ip on your server (you can use an alias), and make sure you add a listen directive for it. e.g.
Listen 192.168.0.2
Listen 192.168.0.3
Then your virtual servers would look something like this..
NameVirtualHost 192.168.0.2:80
<VirtualHost 192.168.0.2:80>
ServerName
DocumentRoot /web/docs/mydomain
ErrorLog "/web/logs/errors"
TransferLog "/web/logs/access"
</VirtualHost>
#SSL Virtual Host
<VirtualHost 192.168.0.3:443>
ServerName
SSLEngine on
SSLVerifyClient none
SSLVerifyDepth 10
SSLCertificateKeyFile /web/certs/privkey.pem
SSLCertificateFile /web/certs/cert.cer
DocumentRoot /web/docs/ssl
ErrorLog "/web/logs/errors"
TransferLog "/web/logs/access"
</VirtualHost>