Re: Logging issue

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

 




> Date: Thursday, April 15, 2021 20:46:56 -0600
> From: Jonathon Koyle <litereader@xxxxxxxxx>
>
> I'm not sure, but my understanding is that of you have multiple
> virtual hosts on one machine, and they all listen on the same
> interfaces/ip addresses then they have to have unique ServerName
> directive.  If you have duplicates, they will all be served by the
> first virtual host, with a matching ServerName, read httpd.
> 
> I'm not really an expert, but you need to do something like:
> A. Distinguish the servers (distinct hostname, IP, or port).
> B. Have a single virtual host include the definitions for all paths
> as locations or maybe directories, could possibly maintain separate
> files by using the include directive, not sure.
> C. Have a single virtual host that proxies to the other defined
> virtual host - they still need a unique name, ip or port.

The OP may want to read up on apache name-/ip-based virtual host
configurations:

  <https://httpd.apache.org/docs/current/vhosts/name-based.html>

If name-based each has to be a unique (resolvable) fqdn. If IP-based,
each has to have its own ipnumber.



---------------------------------------------------------------------
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