httpd-users mailing list archives

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

Hello,

We currently have 2 IP's pointing to our apache 1.3.22 server.  1 IP is
accepted and setup for name-based vhosting and handles about 25 virtual host
directives on port 80, and SSL requests on port 443.  How can I set up the
other IP to be accepted through a different subdomain, port 443, and use a
separate SSL certificate?  I know it's simple but I can't seem to find the
right settings.

Here's our current config:

NameVirtualHost xxx.xxx.xx.xxx:80

(no listen or bind directives)

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

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

....

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

<VirtualHost _default_:443>
    certicate #1 info....
</VirtualHost>


Thanks a lot,
Chad Arimura
AllDorm Inc.


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