After much stuffing around with ssl.conf and various other configs, i finally got virtual hosts to work..
I kept getting the error
[error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
there seems to be a heap of people out there getting this error, so here is my solution, which works for me......
In the end I didnt need to touch the ssl.conf file, just leave that as is.
in your httpd.conf do the following.
=======8<========
NameVirtualHost *:80
NameVirtualHost *:433
<VirtualHost _default_:80>
ServerAdmin
webmaster@your-server.com
DocumentRoot /var/www/html
ServerName li-*.member.linode.com
ErrorLog /var/www/html/virtual/logs/error_log
CustomLog /var/www/html/virtual/logs/access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
webmaster@your-server.com
DocumentRoot /var/www/html/virtual/site1/html
ServerName anotherdomain.com
ServerAlias *.anotherdomain.com anotherdomain.com
ErrorLog /var/www/html/virtual/site1/logs/error_log
CustomLog /var/www/html/virtual/site1/logs/access_log common
</VirtualHost>
=======>8========
Hope it helps someone...