Why did you need to do this? I would think this would have unpredictable
results. You only need one IP addresss to use the same domain name for
both http and https since they are accessed on different ports.
# Secure virtual host
<VirtualHost 216.186.181.230:443>
...
# http virtual host
<VirtualHost 216.186.181.230:80>
...
is the usual way to set this up.
Jamie
At 10:01 PM 12/1/00, Brendon Maragia wrote:
>Ok my trouble is that in order to get this class i wrote in php to work I
>can't switch domain names when moving from a 'http' to a 'https'. So I
>went ahead and aliased my domain name to 2 IP addresses so I can do an
>apache vhost && a ssl vhost, thus so...
>
>Name: www.commaflex.com
>Addresses: 216.186.181.230, 216.186.181.231
>
>...I setup www.commaflex.com as an apache vhost && a ssl vhost as follows....
>
>#
>#commaflex.com
>#
>
><VirtualHost 216.186.181.231:80>
> ServerAdmin [EMAIL PROTECTED]
> DocumentRoot /home/commaflex/public_html
> ServerName www.commaflex.com
> ErrorLog /home/commaflex/.error.log
> TransferLog /home/commaflex/.transfer.log
></VirtualHost>
>##end##
>
><VirtualHost 216.186.181.230:443>
>
>DocumentRoot "/home/commaflex/public_html"
>ServerName www.commaflex.com
>ServerAdmin [EMAIL PROTECTED]
>ErrorLog /usr/local/apache/logs/error_log
>TransferLog /usr/local/apache/logs/access_log
>
>SSLEngine on
>SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
>SSLCertificateFile /usr/local/ssl.keys/www.commaflex.com/server.crt
>SSLCertificateKeyFile /usr/local/ssl.keys/www.commaflex.com/server.key
>SSLCertificateChainFile /usr/local/ssl.keys/www.commaflex.com/ca.crt
>SetEnvIf User-Agent ".*MSIE.*" \
> nokeepalive ssl-unclean-shutdown \
> downgrade-1.0 force-response-1.0
></VirtualHost>
>
>
>Well all of these things work fine and dandy in IE (the versions i've
>checked) , however, Netscape 6 can't find https://www.commaflex.com :(
>Anybody have any tips? Or perhaps a better way?
>
>-Brendon
>_____________________________________________________________________________________
>Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
>
>______________________________________________________________________
>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]