httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: [users@httpd] NameVirtualHost address is not supported
Date Fri, 18 Apr 2014 18:26:27 GMT
Michael,

On 4/18/14, 2:16 PM, Michael Peters wrote:
> I have a few sites I’d like to run on a single server with one IP on
> port 80 and 443. I’ve tried several configuration examples without
> success. I get error messages like this:
> 
>  
> 
> Starting httpd: [Fri Apr 18 09:23:32 2014] [error] VirtualHost
> _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost
> address is not supported, proceeding with undefined results
> 
> [Fri Apr 18 09:23:32 2014] [warn] NameVirtualHost 184.168.190.45:0
> <http://184.168.190.45:0> has no VirtualHosts
> 
>  
> 
> When I put multiple entries into httpd.conf similar to this:
> 
>  
> 
> #
> 
> <VirtualHost 208.109.171.169:80 <http://208.109.171.169:80>>
> 
> ServerName sitename-1.com <http://sitename-1.com>
> 
> DocumentRoot "/www/html/ sitename-1"
> 
> ServerAdmin webmaster@ sitename-1.com <http://sitename-1.com>
> 
> <Directory "/www/html/ sitename-1">
> 
> allow from all
> 
> Options +Indexes
> 
> </Directory>
> 
> </VirtualHost>
> 
> #
> 
> <VirtualHost 208.109.171.169:80 <http://208.109.171.169:80>>
> 
> ServerName sitename-2.com <http://sitename-2.com>
> 
> DocumentRoot "/www/html/ sitename-2"
> 
> ServerAdmin webmaster@ sitename-2.com <http://sitename-2.com>
> 
> <Directory "/www/html/ sitename-2">
> 
> allow from all
> 
> Options +Indexes
> 
> </Directory>
> 
> </VirtualHost>
> 
> #

What does your "NameVirtualHost" directive look like?

-chris


Mime
View raw message