httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwsackste...@ramprecision.com
Subject RE: [users@httpd] dyndns + vhosts + ssl
Date Tue, 22 Jul 2003 12:12:10 GMT
Many thanks!

-----Original Message-----
From: Jeff Cohen [mailto:support@gej-it.com]
Sent: Monday, July 21, 2003 11:15 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] dyndns + vhosts + ssl


The right config should be like that:

NameVirtualHost *:80
NameVirtualHost *:443


<VirtualHost *:80>
ServerName foo.domain.com:80
DocumentRoot /var/www/foo
</VirtualHost>

<VirtualHost *:80>
ServerName bar.domain.com:80
DocumentRoot /var/www/bar
</VirtualHost>

<VirtualHost *:443>
ServerName secure.domain.com:443
DocumentRoot /var/www/baz
SSLEngine on
</VirtualHost>

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: jwsacksteder@ramprecision.com [mailto:jwsacksteder@ramprecision.com]
> Sent: Monday, July 21, 2003 9:41 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] dyndns + vhosts + ssl
> 
> I'm trying to host 3 name-based vhosts off of one dyndns ip address. One
of
> these vhosts is to be secured with ssl. There will be no overlap between
the
> vhosts. I have what seems to a working config, except for the fact that
> Apache says scary stuff during startup like-
> 
> "www root #  [error] VirtualHost *:443 -- mixing * ports and non-* ports
> with a NameVirtualHost address is not supported, proceeding with undefined
> results"
> 
> I REALLY don't like the sound of "undefined results". Is there a more
> correct way to achieve this? Is it safe to continue with this
configuration?
> 
> 
> Sample Config
> -------------------------
> 
> <NameVirtualHost *>
> 
> <VirtualHost *>
> ServerName foo.domain.com
> DocumentRoot /var/www/foo
> </VirtualHost>
> 
> <VirtualHost *>
> ServerName bar.domain.com
> DocumentRoot /var/www/bar
> </VirtualHost>
> 
> <VirtualHost *:443>
> ServerName secure.domain.com
> DocumentRoot /var/www/baz
> SSLEngine on
> </VirtualHost>
> 
> 
> 
> ---------------------------------------------------------------------
> 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