I WANT TO UNSUBSCRIBE.
PLEASE REMOVE MY E-MAIL ID FROM THIS LIST.
----- Original Message -----
From: Marcos Lloret <marcos@second.ival.es>
To: <apache-ssl@lists.aldigital.co.uk>
Sent: Tuesday, June 20, 2000 11:40 PM
Subject: [apache-ssl] more virtual hosts
> hi mark,
>
> this is what i have in httpsd.conf:
>
>
> SSLDisable
>
> [ SSL configuration] --> it works fine
>
> ServerRoot "/usr/local/apache"
>
> Port 443
> Listen 443
> Listen 80
> Listen 8000
>
> User nobody
> Group nobody
>
> ServerName www.domainone.com
>
> DocumentRoot "/usr/local/apache/htdocs" --> where domainone (http) web
>
> is located
>
> <Directory "/usr/local/apache/htdocs">
>
>
> [i think this could be the problem]
>
> NameVirtualHost ip: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
> Redirect / https://www.domainone.com -->> it works
> 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
> http://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.
>
> can i make virtual-host based on domain name? how can i solve
> http://www.domainone.com and https://www.domainon.com?
>
> i can just used one ip.
>
> thanks in advance,
>
> marcos
> marcos@ival.es
>
>
>
>
>