RE: NameVirtualHost address is not supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've tried:

NameVirtualHost *:80
NameVirtualHost *
NameVirtualHost 184.168.190.45:80

Without success.

-----Original Message-----
From: Christopher Schultz [mailto:chris@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Friday, April 18, 2014 11:26 AM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  NameVirtualHost address is not supported

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux