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 Fri, 27 Sep 2002 21:23:04 GMT

Ok first problem solved.  The new IP address wasn't in the NIC's route
table.  My mistake.  But now I'm running into the following problem:

Here's my current setup:


NameVirtualHost a.b.c.d:80

<VirtualHost www.domain.com>
    DocumentRoot "/var/www/www.domain.com"
    ServerName www.domain.com
</VirtualHost>

<more namevhosts>
a bunch of other namebased vhosts to accept xxx.domain.com
</VirtualHost>

<VirtualHost a.b.c.d:443>
  certificate information
</VirtualHost>


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


This configuration works fine, but as soon as I try and specify a port for
the second IP address to listen on (eg 'Listen e.f.g.h:443'), the name-based
vhosts stop responding.

Also, after I added the Listen e.f.g.h, it seems that when we access the
name based hosts from the first IP, a second lookup is taking place and the
latency is a fraction of a second longer...

Ideas?

Thanks!
Chad Arimura
AllDorm Inc.




-----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


---------------------------------------------------------------------
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