SSL Virtualhost

I've installed an SSL certificate for a customer the other day, but now I can't seem to create the virtualhost for it, https://domain.com redirects to our main website.

I've tried the following:

Code:
<IfDefine SSL>
<VirtualHost 69.31.79.4:443>
ServerAdmin webmaster@ezwaypc.com
DocumentRoot /home/ezwaypc1/public_html
<IfModule mod_userdir.c>
UserDir enabled ezwaypc1
</IfModule>
BytesLog domlogs/ezwaypc.com-bytes_log
ServerName ezwaypc.com
CustomLog /usr/local/apache/domlogs/ezwaypc.com-ssl_log "%t %{version}c %{cipher}c %{clientcert}c"
User ezwaypc1
Group ezwaypc1
<IfModule mod_php4.c>
php_value open_basedir "/home/ezwaypc1:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp"
</IfModule>
SSLEnable
SSLCertificateFile /etc/httpd/conf/ssl.csr/ezwaypc.csr
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/ezwaypc.key
SSLLogFile /var/log/ezwaypc1.org
UserDir public_html
ScriptAlias /cgi-bin/ /home/ezwaypc1/public_html/cgi-bin/
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
</IfDefine>
And this:

Code:
<VirtualHost 69.31.79.4:443>
ServerName webmaster@ezwaypc.com
DocumentRoot /home/ezwaypc1/public_html
CustomLog /usr/local/apache/domlogs/ezwaypc.com-ssl_log "%t %{version}c %{cipher}c %{clientcert}c"
SSLEnable
SSLCertificateFile /etc/httpd/conf/ssl.csr/ezwaypc.csr
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/ezwaypc.key
ServerAlias ezwaypc.com
DirectoryIndex home_ssl_pegase.html
UseCanonicalName Off
</VirtualHost>
But whenever I try to start Apache again it says 'httpd could not be started', no error, nothing. Anyone know what this vhost should look like? It's Apache 1.3 w/ cPanel.

Thanks.

 

 

 

 

Top