[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VirtualHost and SSL in httpd.conf
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: VirtualHost and SSL in httpd.conf
- From: "Spruell, Darren-Perot" <Darren_(_dot_)_Spruell_(_at_)_chw_(_dot_)_edu>
- Date: Tue, 20 Sep 2005 12:32:46 -0700
From: Jasper [mailto:bsd_(_at_)_mercatortrading_(_dot_)_nl]
> <VirtualHost www.mercatortrading.nl:443>
> <VirtualHost www.profibas.com:443>
> running httpd -uDSSL gives the following warning:
> [Tue Sep 20 20:39:33 2005] [warn] VirtualHost
> overlaps with VirtualHost www.profibas.com:443, the first has
> precedence, perhaps you need a NameVirtualHost directive
> Am i missing the point of virtual hosting?
Not really, but you can't have more than one SSL web site on the same IP
address / port number.
$ dig a www.mercatortrading.nl
; <<>> DiG 9.2.4 <<>> a www.mercatortrading.nl
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50405
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.mercatortrading.nl. IN A
;; ANSWER SECTION:
www.mercatortrading.nl. 86245 IN CNAME www.profibas.com.
www.profibas.com. 86245 IN A 126.96.36.199
If these were on HTTP (port 80) or different IPs you could do it.
You'll find plenty of refs on the Internet for the whys of this, but in
short it doesn't work for SSL.
Visit your host, monkey.org