Ce jour Sat, 20 Nov 2004, Carl T. Miller a dit: > Package: apache2-common > Version: 2.0.52-3 > > I cannot find documentation for creating a secure (https) VirtualHost, > so I am trying to combine what I know works from an existing apache1.3 > site with files/directories/examples that come with apache2 and > apache2-common. > > I ran "a2enmod ssl" and restarted apache2 without any errors. Next I > copied /usr/share/doc/apache2/examples/ssl.conf to > /etc/apache2/sites-available/secure and removed any lines which > were present in /etc/apache2/mods-available/ssl.conf. > > When I ran "a2ensite secure" and restarted apache2, I get the error: > Starting web server: Apache2[Sat Nov 20 09:35:19 2004] [error] > VirtualHost _default_:443 -- mixing * ports and non-* ports with a > NameVirtualHost address is not supported, proceeding with undefined > results > The apache2 service did not start. > > I verified that the default site has the follwing two directives: > NameVirtualHost * > <VirtualHost *> > > I then changed /etc/apache2/sites-available/secure from: > <VirtualHost _default_:443> > to: > <VirtualHost *:443> > > When I start apache2 I get an almost identical error message: > Starting web server: Apache2[Sat Nov 20 09:39:52 2004] [error] > VirtualHost *:443 -- mixing * ports and non-* ports with a > NameVirtualHost address is not supported, proceeding with > undefined results > The apache2 service did not start. > > I then ran "a2dissite secure" and started apache2. The apache2 > service runs on port 80 as expected. > this is not a bug, this is a misconfiguration. eric > > > -- > To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > -- ,''`. http://www.debian.org/ http://www.nuit.ca/ : :' : Debian GNU/Linux http://simonraven.nuit.ca/ ' ------------------------------ `- GPG Print: 7C49 FD9C 1054 7300 3B7B 8BF4 6A88 7AE2 711D F097
Attachment:
signature.asc
Description: Digital signature