help: [warn] _default_ VirtualHost overlap on port 443, the first has precedence
Hi I have a server with two virtual host (*:80,*:443) on the same IP
The https works fine but the https don't it shows the default apache
home page any help?
my virtual hosts are like this.
<VirtualHost *:443>
SSLEngine on
SSLCertificateFile
/home/websites/max-media-manager/conf/ssl/foo.bar.crt
SSLCertificateKeyFile
/home/websites/max-media-manager/conf/ssl/foo.bar.nopass.key
DocumentRoot "/home/websites/max-media-manager"
# The canonical name
ServerName foo.bar.com
# The site may also be referenced by this domain
#ServerAlias cherry.searchrev.com
# Force it to always report ServerName,and not use an Alias. Necessary
# because PHP uses this to determine the config file.
UseCanonicalName On
#..... PHP DIRECTIVES
</VirtualHost>
and for http is
<VirtualHost *:443>
DocumentRoot "/home/websites/max-media-manager"
# The canonical name
ServerName foo.bar.com
# Force it to always report ServerName,and not use an Alias. Necessary
# because PHP uses this to determine the config file.
UseCanonicalName On
#..... PHP DIRECTIVES
</VirtualHost>
and I don't have any ServerName defined in my http.conf...but I still
receiving that error
[warn] _default_ VirtualHost overlap on port 443, the first has
precedence
Any help will be appreciated
|