Re: [apache-ssl] virtual domains (same ip)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-ssl] virtual domains (same ip)



i do not.


Mark Holt wrote:

> Do you have a global SSLDisable directive?
>
> Marcos Lloret wrote:
>
> > hi list,
> >
> >     this is what i have:
> >
> > Listen 443
> > Listen 80
> > Listen 8000
> >
> > NameVirtualHost 195.57.183.38:443
> > NameVirtualHost 195.57.183.38:8000
> > NameVirtualHost 195.57.183.38:80
> >
> > <VirtualHost ip:8000>
> > SSLDisable
> > Port 8000
> > ServerAdmin webmaster@domaintwo.com
> > DocumentRoot /home/httpd/www.domaintwo.com
> > DirectoryIndex index.htm
> > ServerName www.domaintwo.com
> > TransferLog /usr/local/apache/logs/domaintwo_access.log
> > ErrorLog /usr/local/apache/logs/domaintwo_error.log
> > </VirtualHost>
> >
> > <VirtualHost ip:80>
> > SSLDisable
> > Port 80
> > ServerAdmin webmaster@domainone.com
> > DocumentRoot /usr/local/apache/httpd
> > ServerName www.domainone.com
> > TransferLog /usr/local/apache/logs/domainone_access.log
> > ErrorLog /usr/local/apache/logs/domainone_error.log
> > </VirtualHost>
> >
> > <VirtualHost ip:443>
> > SSLEnable
> > Port 443
> > ServerAdmin webmaster@domainone.com
> > DocumentRoot /usr/local/apache/httpsdocs
> > ServerName www.domainone.com
> > TransferLog /usr/local/apache/logs/domainonesec_access.log
> > ErrorLog /usr/local/apache/logs/domainonesec_error.log
> > </VirtualHost>
> >
> > -------------
> >
> > if i visit     http://www.domainone.com  it sends me to
> > https://www.domainone.com   (what i want)  .
> > but if i visit    http://www.domaintwo.com  it sends me to
> > https://www.domainone.com. i mean that i have not seen domaintwo web,
> > just domainone.com  .
> > if i visit   http://ip:8000  i see domaintwo.com   web.
> >
> > i can just used one ip.
> >
> > thanks in advance,
> >
> > marcos
> > marcos@ival.es