Re: [us...@httpd] Two _default_, one for port 80 and another for port 443

2008-12-26 Thread Matus UHLAR - fantomas
David BERCOT wrote: Is it possible to have two _defaut_ sections in apache2.conf, one for http and another for https ? On 23.12.08 16:16, Davide Bianchi wrote: Well, by definition, the first 'vhost' for port 80 is the default for port 80 (http) and the first one for port 443 is the default

[us...@httpd] Two _default_, one for port 80 and another for port 443

2008-12-23 Thread David BERCOT
Hi, Is it possible to have two _defaut_ sections in apache2.conf, one for http and another for https ? I've tried something like this : ServerAdmin m...@mondomaine.org ServerName www.mondomaine.org Directory / Options FollowSymLinks AllowOverride AuthConfig /Directory ErrorLog

Re: [us...@httpd] Two _default_, one for port 80 and another for port 443

2008-12-23 Thread Davide Bianchi
David BERCOT wrote: Hi, Is it possible to have two _defaut_ sections in apache2.conf, one for http and another for https ? Well, by definition, the first 'vhost' for port 80 is the default for port 80 (http) and the first one for port 443 is the default for https. So, yes. VirtualHost

Re: [us...@httpd] Two _default_, one for port 80 and another for port 443

2008-12-23 Thread David BERCOT
Le Tue, 23 Dec 2008 16:16:51 +0100, Davide Bianchi dav...@onlyforfun.net a écrit : David BERCOT wrote: I have this error : Restarting web server: apache2[Tue Dec 23 15:59:49 2008] [warn] _default_ VirtualHost overlap on port 443, the first has precedence ... The problem with HTTPS is

Re: [us...@httpd] Two _default_, one for port 80 and another for port 443

2008-12-23 Thread Davide Bianchi
David BERCOT wrote: So, if I well understand (I'm not sure ;-))), there can be only one https vhost, no ? You can have as many as you want, *BUT* all of them will use the certificate of the first one. Read the documentation of Apache. Davide -- Military intelligence is a contradiction in