httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Arimura" <news-apa...@alldorm.com>
Subject RE: [users@httpd] Multiple IP/SSL hosts
Date Thu, 26 Sep 2002 21:37:15 GMT

OK i'm missing something here... I'm really trying my best to understand how
this works.

Here's my attempted setup, and it's not working yet (cannot find dns,
error).  Forget the extra SSL certs, I'm just trying to get the second IP
address to respond on port 80:


NameVirtualHost a.b.c.d:80

<VirtualHost www.domain.com>
    DocumentRoot "/var/www/www.domain.com"
    ServerName www.domain.com
</VirtualHost>
.
.
.
a bunch of other namebased vhosts to accept xxx.domain.com
through a.b.c.d:80
.
.
.


Listen e.f.g.h:80

<VirtualHost e.f.g.h:80>
    DocumentRoot "/var/www/abc.domain.com"
    ServerName abc.domain.com
</VirtualHost>


Is this off?


Chad


-----Original Message-----
From: Robin P. Blanchard [mailto:robin.blanchard@georgiacenter.org]
Sent: Thursday, September 26, 2002 1:20 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Multiple IP/SSL hosts



> Is there a way to use both IP-host hosting AND name-based?

yes, you can mix and match. but you will never be able to use SSL
(properly) on a name-based virtual host.

if you have only port 80 traffic for a couple of fqdn's you could use
name-based hosting for those. you'd therefore use the namevirtualhost
directive. once you've got the need for multiple SSL enabled hosts, or
hosts that will be both non-SSL and SSL, you need to use ip-based
virtual hosting, which uses the listen directive.


--
----------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 <|> fax: 706.542.6546
----------------------------------------


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message