[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apache2 and ssl



hi,

i installed apache2.0.53 via apt-get on debian sarge. now i'm struggling to get ssl running. among other things it took me a while to find out that the command to start apache2 with ssl-support is "apachec2ctl startssl". but now i'm stuck in a strange situation: ssl only works when the "default" configuration is empty - no "normal" virtual hosts beside the ssl-enabled hosts.

i tried virtual-host directives like this:
<VirtualHost *>
-> [Sun Mar 13 00:01:29 2005] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined
	   results
-> curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

and like this:
<VirtualHost *:81>
-> [Sat Mar 12 23:58:01 2005] [error] VirtualHost _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined
	   results
[Sat Mar 12 23:58:01 2005] [error] VirtualHost *:81 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results -> curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

and like this:
<VirtualHost 123.456.78.9>
-> curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

the ssl-hosts-directive looks like this:
<VirtualHost _default_:443>
as i said: it works fine as long as no other non-ssl-host is around.

while the apache2-installation listens per default on port 81 another apache1.3.33 does the work on port 80. it has no ssl.

can anybody help?

ciao
thomas

.
mailto:thomas@stray.net
http://stray.net

..
early optimization is the root of many evil
donald e. knuth
...
not to be absolutely certain is, I think, one of the essential things in rationality
bertrand russell



Reply to: