Re: Server default vhost

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

 



Once you have your Virtualhosts setup, the first one becomes the default for any requests which do not match the ServerName/ServerAlias in any other Virtualhost.

On 3 November 2011 21:46, Helmut Schneider <jumper99@xxxxxx> wrote:
Hi,

let's say I have a webserver named www.domain.tld at IP 192.168.0.1.
That server serves http://www.domain.tld.

Now I want to have another VHOST serving http://192.168.0.1 (the
DEFAULT VHOST e.g. to serve /server-status because
http://www.domain.tld requires authentication).

How would I do so?

I unsuccessfully tried numerous variations of NameVirtualHost,
VirtualHost and ServerName but apache either serves www.domain.tld or
192.168.0.1 for *all* requests.

Thanks in advance, Helmut


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Steve Swift
http://www.swiftys.org.uk

[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