httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel González Castaños <...@tid.es>
Subject Re: [users@httpd] multiple virtual hosts that use both port 80 & 443
Date Thu, 12 Jun 2003 15:00:25 GMT
When you compile Apache with SSL support as you probably have realized, the
default is SSL, so you have
to disable SSL in order to use non-SSL connection (normally the virtual hosts
with the default HTTP port - 80 )

 Well, what you have to do is use

 NameVirtualHost 192.168.1.2:80

 <VirtualHost 192.168.1.2:80>
 ServerName server1
 </VirtualHost>

 <VirtualHost 192.168.1.2:80>
 ServerName server2
 </VirtualHost>

 NameVirtualHost 192.168.1.2:443
 <VirtualHost 192.168.1.2:443>
 ServerName server1
 </VirtualHost>

 <VirtualHost 192.168.1.2:443>
 ServerName server2
 </VirtualHost>



"Kent C. Kollasch" ha escrito:

> Is it possible to set up multiple virtual hosts that use both port 80 &
> 443?  So far, I've only been able to get it two work with two vh's.  The
> other ones seem to redirect to the default server. I didn't have the
> same problem with apache 1.3.7 (currently using 2.0.40).
>
> --
> *******************************
> Kent C. Kollasch
> Manager, IT
> VistaSource, Inc.
> 117 Flanders Rd.
> Westboro, MA  01581
>
> Phone: (774) 760-1015
> mailto:kent@vistasource.com
>
> Check out our web pages!!
> http://www.vistasource.com -> VistaSource's Home page
> http://www.anywarerealtime.com -> Solutions for optimized data retrieval
> and optimized data analysis.
>
> ---------------------------------------------------------------------
> 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