Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 1998 10:35:44 -0500
From:      Roman Katsnelson <romank@graphnet.com>
To:        "q's" <freebsd-questions@FreeBSD.ORG>
Subject:   Apache-SSL
Message-ID:  <363F22D0.979EAF9@graphnet.com>

next in thread | raw e-mail | index | archive | help
Hi, guys. This is not STRICTLY a FreeBSD question, but it's been driving
me completely nuts and I don't know where else to turn to. Sorry...

I have an existing web server (Apache 1.3.2 on FreeBSD 2.2.7) to which I
want to 
add SSL capability. I duplicated the situation on a test machine,
installed 
SSLeay, and rebuilt Apache with the Apache-SSL patch. The problem is
this: I 
have multiple virtual hosts (name-based) on the server, and I need them
to 
remain regular http, and I want to add one which is https. The relevant 
information from httpd.conf follows:

SSLDisable  #globally disabled

<VirtualHost 111.222.33.444> 
ServerName unsecure.test.com
SSLDisable
</VirtualHost>

<VirtualHost 111.222.33.444>
ServerName secure.test.com
SSLEnable   #enabled here    
</VirtualHost>

However, when I test it, if I give the browser a https:// url, it
doesn't 
connect to the server. If I give it a http:// url, it works fine for the
first 
server, and connects to the second (secure) one, but gives a "Document
contains 
no data" error. There is nothing in the error-log that would suggest
what the 
problem is. Any ideas would be much appreciated... 

Thanks,
Roman 

-- 
Roman Katsnelson <-> romank@graphnet.com
UNIX Engineer    <-> rk.graphnet.com
Graphnet, Inc.   <-> www.graphnet.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?363F22D0.979EAF9>