get paid to paste

<VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /var/www/html/mydomain.com/-
    ServerName mydomain.com
    ErrorLog logs/mydomain.com-error-log
    CustomLog logs/mydomain.com-access-log common
</VirtualHost>
<Directory /var/www/html/mydomain.com/->
    AllowOverride FileInfo
</Directory>

<VirtualHost *:443>
    ServerAdmin [email protected]
    DocumentRoot /var/www/html/mydomain.com/-
    ServerName mydomain.com
    ErrorLog logs/mydomain.com-error-log
    CustomLog logs/mydomain.com-access-log common
    SSLEngine on
    SSLCertificateFile /path/to/mydomain_com.crt
    SSLCertificateKeyFile /path/to/mydomain.key
    SSLCertificateChainFile /path/to/mydomain_com.ca.bundle
</VirtualHost>

###############################
http[b][tpcolor=#8B0000]s[/tpcolor][/b]://mydomain.com works as expected, however, normal ol' http://mydomain.com does not work (The page that loads is from the default path for the httpd server). I have several domains on one server, however this is the first time I am trying to get an ssl page working.

Pasted: Feb 13, 2012, 12:55:05 pm
Views: 8