Hi guys,
I am running a SuSE 6.4 box with Apache1.3.12 / OpenSSL/0.9.5...
I want to set up several virtual name based hosts, one with ssl and the
others without. I've tried several different httpd.conf setups, but
somehow
this does not want to work out. Right now my httpd.conf goes somewhat
like this:
[...]
<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>
[...]
NameVirtualHost 123.456.78.9:80
NameVirtualHost 123.456.78.9:443
<VirtualHost my1st.host.org:80>
SSLDisable
ServerName my1st.host.org
ServerAdmin eric@host.org
DocumentRoot /usr/local/httpd/htdocs1
</VirtualHost>
<VirtualHost my2nd.host.org:443>
SSLEnable
ServerName my2nd.host.org
ServerAdmin eric@host.org
DocumentRoot /usr/local/httpd/htdocs2
SSLCertificateFile /etc/httpd/ssl.crt/host.org.cert
SSLCertificateKeyFile /etc/httpd/ssl.key/host.org.key
</VirtualHost>
[...more VirtualHost:80...]
and ssl_engine_log shows:
[13/Jul/2000 23:38:24 28689] [info] Init: Reinitializing OpenSSL
library
[13/Jul/2000 23:38:24 28689] [info] Init: Seeding PRNG with 136 bytes
of entropy
[13/Jul/2000 23:38:24 28689] [info] Init: Configuring temporary RSA
private keys (512/1024 bits)
[13/Jul/2000 23:38:24 28689] [info] Init: Configuring temporary DH
parameters (512/1024 bits)
[13/Jul/2000 23:38:24 28689] [info] Init: Initializing (virtual)
servers for SSL
[13/Jul/2000 23:38:24 28689] [warn] Init: (my2nd.host.org:443) You
configured HTTP(80) on the standard HTTPS(443) port!
Before the Virtualhost entries all looked like this: