On Thu, 2 Nov 2000, Clint Gilders wrote:
> Ok... I looked through the archives and found some info on setting up
> ssl and non ssl virtual domains:
>
> This is what I found:
>
> NameVirtualHost 192.168.200.1:80
>
> <VirtualHost 192.168.200.1:80>
> ServerName banana.fruit.com
> DocumentRoot /home/banana
> </VirtualHost>
>
> <VirtualHost 192.168.200.1:80>
> ServerName kiwi.fruit.com
> DocumentRoot /home/kiwi
> </VirtualHost>
>
> <VirtualHost 192.168.200.1:443>
> ServerName ssl.fruit.com
> DocumentRoot /home/ssl
> SSLEngine On
> SSLCertificateFile /apache_conf_dir/ssl.crt/your_site.crt
> SSLCertificateKeyFile /apache_conf_dir/ssl.key/your_site.key
> </VirtualHost>
This problem has been raised quite frequently in recent days. You are
listening for HTTPS connections on one socket, 192.168.200.1:443. You have
further defined that this connects to SSL.FRUIT.COM
>
> I have set 3 virtual hosts up in a fashion mimicking the above. I
> have "www.perlnerd.com" and "www.dbgrafx.com" set up as non ssl virtual
> domains and "shop.perlnerd.com" set up as my ssl vitual domain. One
> thing I find strange is that the URL https://www.perlnerd.com or
> https://www.dbgrafx.com takes me to the document root of the ssl enabled
> virtual domain while http://www.perlnerd.com etal. takes me to the
> proper document root. Should this be happening?
> I am running apache 1.3.14, php 4.2, and modssl 2.7.1. compiled from
> source on a FreeBSD UNIX 3.4 server. I have the SSL enable virtual host
> within the <IfDefine SSL> </IfDefine> container and have removed the
> default ssl virtual host setup that was in the file thinking that that
> may have caused the problem.
>
> Any help is appreciated
>
> Thanks
> Clint
>
> --
> Clint Gilders
> Servermaster Onlinehobbyist Inc.
> [EMAIL PROTECTED]
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
>
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]