I had the same problem.  Poked at it a bit, couldn't figure it out.
Everything was configured properly, and everything was compiled
properly.  https worked beautifully, but not at the same time as http. 
Caused me much loss of hair. :/

After poking through the archives to no avail, I decided to get rid of
the Includes and just put everthing in my httpd.conf.  Lo and Behold! IT
WORKED!!! I was amazed and irritated.  Why it doesn't work with "Include
conf/ssl/mod_ssl.conf" I have no idea.  I even had Port 80 set up in a
virtual host, without success.  Here is the relevant section from my
httpd.conf.  Hope it helps:

# Include conf/ssl/mod_ssl.conf
LoadModule ssl_module        /usr/lib/apache/libssl.so 
AddModule                       mod_ssl.c

Listen 443
Listen 80

AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl
SSLPassPhraseDialog  builtin
SSLSessionCache         dbm:logs/ssl_scache
SSLSessionCacheTimeout  300
SSLMutex  file:logs/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog      logs/ssl_engine_log
SSLLogLevel info
SSLEngine off

<VirtualHost _default_:80>
             ServerAdmin [EMAIL PROTECTED]
             DocumentRoot /home/httpd/html
             SSLEngine off
</VirtualHost>

<VirtualHost _default_:443>
             DocumentRoot /home/httpd/secure
             ServerAdmin [EMAIL PROTECTED]
             ErrorLog logs/ssl-error_log
             TransferLog logs/ssl-access_log
             SSLEngine on
             SSLCipherSuite
ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
             SSLCertificateFile conf/ssl/server.crt
             SSLCertificateKeyFile conf/ssl/server.key
             SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
             CustomLog logs/ssl_request_log   "%t %h %{SSL_PROTOCOL}x
%{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>                                  
# Include conf/ssl/ssl.default-vhost.conf


-- 
Matthew Vanecek
Visit my Website at http://mysite.directlink.net/linuxguy
For answers type: perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to