I need to serve many domains (designasign.biz, designateeshirt.biz, shopzeus.com, mess.hu etc.) I only have one IP address, so I'm using name based virtual hosts. However, I also need to do secure payments on two sites. I did a trick:It's called port-based virtual hosting - perfectly OK way of getting more than one HTTPS site on the same IP (at the cost of having to specify ":444" in the URLs).
Yes, this was the idea. Thank you.
<VirtualHost *:444> ServerName designasign.biz ServerAlias www.designasign.biz DocumentRoot /www/designasign.biz/ SSLEngine OnMove all the SSL certificate directives for this site in here, then it should work.
Actually, I needed to copy them. (Also see below)
Yes, I did so. However, when I removed the "default" certificate from ssl.conf, the server did not start. I did not get any error messages in the log, except a "caught SIGTERM" message. This was my experience: I had to specify a default certificate, even if it was not used at all.Everything seems fine, except that apache uses the default certificate for both sites. (You can test it, just go to https://www.shopzeus.com .) Is this a limitation in Apache? If not, what is wrong with my configuration? (I cannot find any error messages or warnings in the logs.)As soon as you start using virtual hosts, give up the idea of a "default server" and put all directives in a VH container for each server...
Thank you for your help, Laszlo --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx