Sorry to bother all.  This email is to answer the question I raised.
Previously I mixed a directive NameVirtualHost in my httpd.conf.  SSL does not work 
with
name-based virtual host.
Best,
Denis
--- Denis Wang <[EMAIL PROTECTED]> wrote:
> Hello,
> I am trying to config Apache1.3 to host IP-based virtual hosts in a single daemon 
>with SSL
> enabled.  However, the server always looks for the global DocumentRoot instead of the
> virtualhost
> one.  Any input will be highly appreciated!!!!!!
> Details are included below.
> Best regards,
> Denis
>  
> > 1. the whole website accessed from http at port 80 works fine
> > 2. .jsp files accessed from https at port 443 work fine
> > 3. .html files acccessed from https at port 443 work fine if in global DocumentRoot
> > 4. .html files acccessed from https at port 443 NOT work if in virtualhost 
>DocumentRoot
>  
> > *****************************
> > my httpd.conf
> > *****************************
> > <VirtualHost 11.222.333.44>
> > DocumentRoot /usr/jakarta-tomcat-4.0.1/webapps/denis
> > ServerName www.mysite.com
> > VirtualDocumentRoot /usr/jakarta-tomcat-4.0.1/webapps/denis
> > </VirtualHost>
> > 
> > <IfDefine SSL>
> > <VirtualHost 11.222.333.44:443>
> > SSLEngine on
> > SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
> > SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
> > SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
> > 
> > DocumentRoot /usr/jakarta-tomcat-4.0.1/webapps/denis
> > ServerName www.mysite.com
> > 
> > ErrorLog logs/surfer2sky_error_log
> > TransferLog logs/surfer2sky_access_log
> > SetEnvIf User-Agent ".*MSIE.*" \
> >          nokeepalive ssl-unclean-shutdown \
> >          downgrade-1.0 force-response-1.0
> > CustomLog logs/ssl_request_log \
> >           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
> > VirtualDocumentRoot /usr/jakarta-tomcat-4.0.1/webapps/denis
> > </VirtualHost>
> > </IfDefine>
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Try FREE Yahoo! Mail - the world's greatest free email!
> > http://mail.yahoo.com/
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
> User Support Mailing List                      [EMAIL PROTECTED]
> Automated List Manager                            [EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to